-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
Successful builds after a failed build on the same commit, are send to Jenkins, but do not mark the build in Bitbucket as complete.
The builds are shown as two individual builds with the failed one sorted higher.
This appeared after https://issues.jenkins.io/browse/JENKINS-75083
Happens on Bitbucket Server v8.19.8
- is caused by
-
JENKINS-75083 Build statuses do not appear in list of pull requests in Bitbucket Server
-
- Resolved
-
For bitbucket server we have replace deprecated endpoint with new one. This means that PR started with older plugin version could be recognized by the server as different because we valued the refname attribute.
By the atlassian documentation refname should not be part of the build status notification but at least on cloud seems to be so, that why it duplicates build status notification (when I test it).
If this happens also for fresh new PRs than I will investigate otherwise I will close the issue. Let me know.
EDIT: I suppose this is the cause because new PR post additional informations like build duration that I see in the second build status. Instead the first build status does not have