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
Build notification is not a mandatory step in my mind to abort the whole build when notification fails. If you want to catch errors from notifiers - I hope you can wrap it into try..catch clause and do an error step there.
[Pipeline] notifyBitbucket
Notifying Bitbucket at "https://******"
Failed to notify Bitbucket for commit 0255fe7ba98c0e3103c89341b626d7a64e6b941 ({"errors":[{"context":null,"message":"Authentication failed. Please check your credentials and try again.","exceptionName":"com.atlassian.bitbucket.auth.IncorrectPasswordAuthenticationException"}]})
[Pipeline] }
[Pipeline] // stage
I'm using it in multibranch pipeline to notify Bitbucket that Build was successful (or not) so the it can be merged only when someone had reviewed PR and the build was OK.
It does make sense to know somehow when notification to Bitbucket fails or doesn't work (I can use Slack notifications for this if pipeline fails) but at the moment I don't know how this can be done if it just continues even with error.
Version report
Jenkins and plugins versions report:
Reproduction steps
Results
Expected result:
The job should fail if cannot successfully send notification to Bitbucket Server
Actual result:
It continues to run with next stage as there no error happened at all:
The text was updated successfully, but these errors were encountered: