We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have unstable stages that are purely informative. So i need to set the result as success when pipeline is "unstable".
post { unstable { echo 'updateGitlabCommitStatus' updateGitlabCommitStatus name: 'jenkins', state: 'success' } }
However, the gitlab plugin seems to completely ignore it and marks pipeline as failed regardless at the end.
[Pipeline] echo 14:14:41 updateGitlabCommitStatus [Pipeline] updateGitlabCommitStatus [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // withCredentials [Pipeline] End of Pipeline [GitLab Pipeline Status] Notifying branch build status: FAILED<branch>#14: This commit is unstable with partial failure. [GitLab Pipeline Status] Notified Finished: UNSTABLE
It seems to execute it's own notify always at the very end regardless of what you did manually.
Jenkins also does not allow setting pipeline to a "better" state manually.
linux
Add post step to override final pipeline status.
It overrides the status to what i specified.
It does not override and marks pipeline as failed.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jenkins and plugins versions report
We have unstable stages that are purely informative. So i need to set the result as success when pipeline is "unstable".
However, the gitlab plugin seems to completely ignore it and marks pipeline as failed regardless at the end.
It seems to execute it's own notify always at the very end regardless of what you did manually.
Jenkins also does not allow setting pipeline to a "better" state manually.
What Operating System are you using (both controller, and any agents involved in the problem)?
linux
Reproduction steps
Add post step to override final pipeline status.
Expected Results
It overrides the status to what i specified.
Actual Results
It does not override and marks pipeline as failed.
Anything else?
No response
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: