Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Critical
-
Resolution: Unresolved
-
Component/s: envinject-plugin
-
Labels:None
-
Similar Issues:
Description
Update to global variable aren't applied to jobs when envinject plugin is installed
how to reproduce :
running fresh 1.494, with a single Job to echo $FOO
FOO global variable set to "foo"
build #1 :
echo foo
change FOO to set value = "bar"
build #2 :
echo bar
Right, then install envinject (1.78), restart
build #3 :
echo bar
change FOO to set value = "qix"
build #2 :
echo bar
wtf ?
Attachments
Issue Links
- is related to
-
JENKINS-5312 Global properties not being replaced
-
- Resolved
-
-
JENKINS-25141 Can't inject value to build parameter
-
- Resolved
-
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/envinject/EnvInjectComputerListener.java
http://jenkins-ci.org/commit/envinject-plugin/3371ed7601431b57780a30ddea4b84dd27e38b6e
Log:
Merge pull request #20 from jglick/sticky-var-JENKINS-16316
JENKINS-16316 Changes to global variables not honored.
Compare: https://github.com/jenkinsci/envinject-plugin/compare/b5cc29fc9695...3371ed760143