Re: Injecting environment variables - sourcing shell script

2017-06-13 Thread Victoria Kozel
Thank you Randy for the suggestion. I installed the plugin, but even though it showed up in my Build Environment Phase it runs with an error. I am probably going to simply source my shell script in the build step itself - I don't like doing it, but the upside is that it requires fewer plugins.

RE: Injecting environment variables - sourcing shell script

2017-06-12 Thread Jackson, Randy
Have you looked at the Environment Script Plugin? I use it to generate parameters that I need to use later in my builds. https://wiki.jenkins.io/display/JENKINS/Environment+Script+Plugin From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Victori

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