-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: environment-script-plugin
-
Labels:None
-
Similar Issues:
It should be possible to only run the environment script on the 'master' (flyweight) job of a matrix build, and have the variables propagate to the combination jobs.
Code changed in jenkins
User: Jørgen P. Tjernø
Path:
src/main/java/com/lookout/jenkins/EnvironmentScript.java
src/main/java/com/lookout/jenkins/PersistedEnvironment.java
src/main/resources/com/lookout/jenkins/EnvironmentScript/config.jelly
src/test/java/com/lookout/jenkins/CountBuilder.java
src/test/java/com/lookout/jenkins/EnvironmentScriptMatrixTest.java
src/test/java/com/lookout/jenkins/EnvironmentScriptTest.java
http://jenkins-ci.org/commit/environment-script-plugin/59b67f5a6a2ed088d70f19f70ea4233d4841d10f
Log:
JENKINS-14701Thorough Matrix support.This allows you to only run the script once - on the parent job,
before the "configuration" builds are run. This is supported through a
new checkbox in the configuration UI.
Compare: https://github.com/jenkinsci/environment-script-plugin/compare/272de430a961...59b67f5a6a2e