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
Users can currently configure whether or not the build number should be included in the build key by setting includeBuildNumberInKey to false. This can be configured globally for the entire Jenkins instance or locally when calling the notifyBitbucket function in the pipeline.
If includeBuildNumberInKey is set globally, it can not be overwritten when calling notifyBitbucket in the pipeline. The parameter is basically ignored, as can be seen when looking at the following code:
What feature do you want to see added?
Users can currently configure whether or not the build number should be included in the build key by setting
includeBuildNumberInKey
tofalse
. This can be configured globally for the entire Jenkins instance or locally when calling thenotifyBitbucket
function in the pipeline.If
includeBuildNumberInKey
is set globally, it can not be overwritten when callingnotifyBitbucket
in the pipeline. The parameter is basically ignored, as can be seen when looking at the following code:https://github.com/jenkinsci/stashnotifier-plugin/blob/release/1.x/src/main/java/org/jenkinsci/plugins/stashNotifier/StashNotifier.java#L1053-L1056
It should be allowed to overwrite this setting from an individual pipeline.
Upstream changes
No response
Are you interested in contributing this feature?
If this is considered desirable, I can work on it.
The text was updated successfully, but these errors were encountered: