-
Bug
-
Resolution: Fixed
-
Major
-
Jenkins LTS 2.346.2, Atlassian Bitbucket Server Integration plugin 3.2.2
-
-
3.4.1
After a recent upgrade of Jenkins core and the BBS plugin from 2.1.3 to 3.2.2, we noticed that build status information was no longer being correctly shown on our internal Bitbucket Server instance - in the "/builds" section on on Bitbucket Server instance, the status shows "In Progress" indefinitely.
The problem goes away if we manually go to /configure section of Jenkins, scroll down to the Global Pipeline Libraries area, and change the Retrieval Method/SCM from "Bitbucket Server" to "Git".
(Context: most of our builds typically use Multibranch Pipelines)
It appears as though the problem may be caused by build jobs that perform multiple checkouts as part of their build and is a regression in behavior from the older 2.1.3 version.
To reiterate:
- This problem doesn't occur when shared libraries aren't used on the master/controller with the 3.2.2 version, or if the "Git" retrieval method is used instead.
- If we revert back to the 2.1.3 version, the problem goes away entirely, and shared libraries can be used with "Bitbucket Server" as the SCM retrieval method.
Looking through the release notes from 2.1.3 to 3.2.2, I don't see anything that appears to explain this new change in behavior.