|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Should addEnvironmentContributingActionsValues respect the reuseLastBuildEnv boolean that's passed in to getPollEnvironment:
diff --git a/src/main/java/hudson/plugins/git/util/GitUtils.java b/src/main/java/hudson/plugins/git/util/GitUtils.java index 3d41ad3..68669bb 100644 --- a/src/main/java/hudson/plugins/git/util/GitUtils.java +++ b/src/main/java/hudson/plugins/git/util/GitUtils.java @@ -254,7 +254,8 @@ public class GitUtils implements Serializable { } // add env contributing actions' values from last build to environment - fixes JENKINS-22009 - addEnvironmentContributingActionsValues(env, b); + if (reuseLastBuildEnv) + addEnvironmentContributingActionsValues(env, b); EnvVars.resolve(env);