Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwriting global includeBuildNumberInKey configuration from individual Pipeline #422

Open
denniseffing opened this issue Oct 15, 2024 · 0 comments

Comments

@denniseffing
Copy link

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 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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant