Re: Injecting environment variables - sourcing shell script

2017-06-13 Thread Victoria Kozel
INS/Environment+Script+Plugin > > > > > > > > > > > > *From:* jenkins...@googlegroups.com [mailto: > jenkins...@googlegroups.com ] *On Behalf Of *Victoria Kozel > *Sent:* Monday, June 12, 2017 1:49 PM > *To:* Jenkins Users > *Subject:* Injecting environme

RE: Injecting environment variables - sourcing shell script

2017-06-12 Thread Jackson, Randy
Victoria Kozel Sent: Monday, June 12, 2017 1:49 PM To: Jenkins Users Subject: Injecting environment variables - sourcing shell script Hello, I need to use a certain variable in my Shell Build Step that is figured in a shell script stored on the node. When I "source" this script in the sam

Re: Injecting environment variables - sourcing shell script

2017-06-12 Thread Eric Pyle
The help for "Script Content" confirms that it can't be used to set environment variables for the build. But you should be able to specify the path to your shell script in "Properties File Path" instead. On 6/12/2017 1:49 PM, Victoria Kozel wrote: Hello, I need to use a certain variable in my

Injecting environment variables - sourcing shell script

2017-06-12 Thread Victoria Kozel
Hello, I need to use a certain variable in my Shell Build Step that is figured in a shell script stored on the node. When I "source" this script in the same step in which I need the variable, it works. However sourcing it in the EnvInject step under Build Environment phase does not seem to tra