EnvInject Bug for it: https://issues.jenkins-ci.org/browse/JENKINS-26583
I have a plan to fix it, but right now it is not a top priority for me. The 
plugin is looking for adopters 

четверг, 6 июля 2017 г., 18:30:07 UTC+2 пользователь 15 knots написал:
>
> 2017-07-06 13:45 GMT+02:00 15 knots <fifteen...@gmail.com <javascript:>>: 
> > 2017-07-06 0:27 GMT+02:00 Jesse Glick <jgl...@cloudbees.com 
> <javascript:>>: 
> >> On Wed, Jul 5, 2017 at 3:43 PM, Martin Weber <fifteen...@gmail.com 
> <javascript:>> wrote: 
> > ... 
> >>> Maybe one of the plugins installed on my production Jenkins interferes 
> here? 
> >> 
> >> Conceivable. 
> > 
> > Found the culprit: Environment Injector Plugin 
> > Should I file a bug report? 
>
> This is what happens with SimpleBuildWrapper and the Environment 
> Injector Plugin installed: 
> - CommandInterpreter.perfom() calls AbstractBuild.getEnvironment(). 
> - getEnvironment() assembles all values from its buildEnvironments 
> list -- one of these is SimpleBuildWrapper.EnvironmentWrapper. which 
> inserts my extended value for $Path. Fine. 
> - After that, EnvironmentContributingActions inject their variables. 
> One of them is an EnvInjectPluginAction, it overwrites the $Path 
> variable. 
>
> This EnvironmentContributingAction object will overwrite nearly every 
> variable (Path, JENKINS_URL, ALLUSERSPROFILE, PROCESSOR_ARCHITECTURE, 
> ...). 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/7dfd9eae-0f27-4295-b1b6-e84b97023e58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to