-
Improvement
-
Resolution: Fixed
-
Major
-
None
There is a feature in Bitbucket that could filter the builds with key values.
https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html
Environment:
Plugin version
Jenkins version 2.405
we noticed the key value is Hash ID. Then we couldn't use that to filter different branches.
BitbucketBuildStatusNotifications.java#L201
Is it possible for this plugin to make the key value more meaningful and could be filtered by the Bitbucket required build feature?
- links to
In current version (934.3.1), the key appears to be build from job name which is OK (https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/388049e52024761638ac1fd22fc5bb875e73ea75/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/impl/notifier/BitbucketBuildStatusNotifications.java#L269C27-L269C38)
but converted to a MD5 digest (https://github.com/jenkinsci/bitbucket-branch-source-plugin/blob/388049e52024761638ac1fd22fc5bb875e73ea75/src/main/java/com/cloudbees/jenkins/plugins/bitbucket/api/BitbucketBuildStatus.java#L121).
From my understanding of the API documentation, this should be a simple string.