-
Bug
-
Resolution: Won't Do
-
Minor
-
None
Sometimes when a branch is built succesfully, the status is not reflected on BitBucket.
It still shows up as "in progress".
This causes the "only allow merge when build is succesful" check to fail.
- relates to
-
JENKINS-32940 Aborted builds remain in progress in BitBucket
-
- Resolved
-
Environment:
Jenkins - 2.138.1
BlueOcean - 1.8.4
Bitbucket Branch Source - 2.2.12
Job Type: Bitbucket Server Pipeline
I have ran into this issue after upgrading BlueOcean from 1.8.3 to 1.8.4. Jenkins jobs were notifying Bitbucket when I was using BlueOcean 1.8.3, and the job logs had the following at the end of the pipeline:
[Bitbucket] Notifying commit build result
[Bitbucket] Build result notified
However, after upgrading BlueOcean to 1.8.4, the Bitbucket plugin stopped notifying Bitbucket and the lines (from above) were missing from the log.
Feels like cause of the issue is because of an incompatible change upgrading to BlueOcean 1.8.4 and Bitbucket Branch Source plugin is not picking up the end of pipeline event.