-
-
Notifications
You must be signed in to change notification settings - Fork 109
[JENKINS-26583] - Do not suppress environment variables contributed by extensions #125
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
Merged
oleg-nenashev
merged 14 commits into
jenkinsci:master
from
oleg-nenashev:bug/JENKINS-26583-2
Oct 6, 2017
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
178315e
[JENKINS-26583] Reproduce in unittest
olivergondza 1ab1de6
[JENKINS-26583] More tests
olivergondza 2948c71
[FIXED JENKINS-26583] Do not capture slave variables
olivergondza 6f6a8dd
[JENKINS-26583] style
olivergondza 2ebc581
Merge branch 'master' into JENKINS-26583
oleg-nenashev 07dea7c
[JENKINS-26583] - Make the tests debuggable in IDEA
oleg-nenashev 560c5df
[JENKINS-26583] - EnvInjectPluginAction now does not forcefully overr…
oleg-nenashev 2104021
[JENKINS-26583] - Resolve/ignore upper bounds conflict in Ant
oleg-nenashev 56e3ff8
[JENKINS-26583] - Fix the race conditions in tests
oleg-nenashev c5357ee
[JENKINS-26583] - Suppress failing tests, which are not strictly rela…
oleg-nenashev 2f7656a
[JENKINS-26583] - EnvInjectPluginAction now DOES override build param…
oleg-nenashev 58c75c4
[JENKINS-26583] - Clarify the TODO message for Ivy plugin
oleg-nenashev 7ff567c
[JENKINS-26583] - Address comments from @nfalco79
oleg-nenashev ab43f94
[JENKINS-26583] - EnvInjectPluginAction now consults with job propert…
oleg-nenashev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the previous comment you refer to
shouldOverrideBuildParametersIfEnabled()settings.I do not see where the value is taken, I would expect that value in && here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldOverrideBuildParametersIfEnabled() is a test, there is no such configuration option
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember that option in the job configure page:
Should this option be ignored in override policy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, needs investigation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @nfalco79 here, I think since the existing behavior is being changed anyway, it makes sense to start checking that option here. From what I can see, that option is currently only used in the EnvInjectBuildVariableContributor class which does something similar to this piece of code. Tests pass for me locally with the change: