-
-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
Description
Version report
Jenkins and plugins versions report:
Jenkins 2.277.1
stashNotifier 1.20
- What Operating System are you using (both controller, and any agents involved in the problem)?
Linux Alpine 3.12.0
Reproduction steps
- Have the password expired for credentials used to authenticate to Bitbucket Server
- Send a notification in pipeline:
pipeline {
...
stages {
stage('Test') {
...
mlaNotifyBitbucket 'SUCCESSFUL'
}
}
...
}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:
[Pipeline] notifyBitbucket
Notifying Bitbucket at "https://some-bitbucket-server-here"
Failed to notify Bitbucket for commit b3e025790f8e28cc87334dfb341c1f085c1da6f6 ({"errors":[{"context":null,"message":"Authentication failed. Please check your credentials and try again.","exceptionName":"com.atlassian.bitbucket.auth.ExpiredPasswordAuthenticationException"}]})
[Pipeline] }
[Pipeline] // stage
...
Reactions are currently unavailable