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
Per https://community.atlassian.com/t5/Bitbucket-questions/Why-is-the-required-builds-merge-check-still-failing-after-a/qaq-p/2230801 , the Bitbucket REST API /rest/api/1.0/build-status/latest/commits/{commitId} is deprecated. It does not work to mark a specific Jenkins build in Bitbucket. This results in "Required Builds" in Bitbucket never being marked as passed.
The Branch Source Plugin needs to be updated to use the new Bitbucket API: /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A
Reproduction steps
Enable Required Builds in Bitbucket for a Jenkins multibranch pipeline job.
Pass the Jenkins multibranch pipeline job.
Verify that Required Builds in Bitbucket still indicates needing a pass on the multibranch pipeline job for the commit.
Expected Results
Required Builds in Bitbucket is satisfied by a pass on the Jenkins multibranch pipeline job for the commit.
Actual Results
Required Builds in Bitbucket still indicates needing a pass on the multibranch pipeline job for the commit.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
The Branch Source Plugin needs to be updated to use the new Bitbucket API: /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A
Reproduction steps
Enable Required Builds in Bitbucket for a Jenkins multibranch pipeline job.
Pass the Jenkins multibranch pipeline job.
Verify that Required Builds in Bitbucket still indicates needing a pass on the multibranch pipeline job for the commit.
Expected Results
Required Builds in Bitbucket is satisfied by a pass on the Jenkins multibranch pipeline job for the commit.
Actual Results
Required Builds in Bitbucket still indicates needing a pass on the multibranch pipeline job for the commit.
Anything else?
No response
The text was updated successfully, but these errors were encountered: