Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gitlab-ci.yml gitlab-ci.yml
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Public
  • templates
  • gitlab-ci.ymlgitlab-ci.yml
  • Issues
  • #3

Closed
Open
Created Oct 05, 2021 by Fredy PULIDO@fpulido🇨🇦Owner

Force fail when API fail

I got this error:

{"message":{"base":["Insufficient permissions for protected ref 'master'"]}}

But the job in the pipeline was green (I guess beause the http answer was 200)

Force the api call to fail in order to ensure a clear fail in the CI

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking