You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Jenkinsfile looks like this:
Please look at the stage('aanmelder-python3') where catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') is used.
Failed stage shows as success on Github
My Jenkinsfile looks like this:
Please look at the
stage('aanmelder-python3')
wherecatchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')
is used.With
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')
https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#catcherror-catch-error-and-set-build-result-to-failure I can set the stage to fail while it doesn't break the whole build.It looks like this in Jenkins:
I would expect that the check on github would have the status
FAILURE
but it is marked as success.The text was updated successfully, but these errors were encountered: