Re: Variable from shell script to Jenkins job

2015-01-16 Thread Adrian Paraschiv
Hello Rob, I have a couple of questions: 1. The line echo “varID = $varID” export_props.properties is run on the jenkins server or on the remote ? 2. If I need something like this on the remote server for a script that jenkins runs: .. export APPS=/opt/play/apps export

RE: Variable from shell script to Jenkins job

2015-01-16 Thread Rob Mandeville
To: jenkinsci-users@googlegroups.com Cc: rmandevi...@litle.com Subject: Re: Variable from shell script to Jenkins job Hello Rob, I have a couple of questions: 1. The line echo “varID = $varID” export_props.properties is run on the jenkins server or on the remote ? 2. If I need something like

RE: Variable from shell script to Jenkins job

2014-01-23 Thread Ginga, Dick
I think you can write things to a file from your shell, then make the next build step Inject environment variables plugin and those values are now available to build steps and other shell steps. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of

RE: Variable from shell script to Jenkins job

2014-01-23 Thread Mandeville, Rob
We've got a technique for this at our shop. It requires the envInject plugin. You write a line such as: echo varID = $varID export_props.properties In the step after the shell step, create an Inject environment variables step that reads from export_props.properties. Now, the contents of

Re: Variable from shell script to Jenkins job

2014-01-23 Thread Maureen Barger
We do this as well FWIW. On Thu, Jan 23, 2014 at 10:55 AM, Mandeville, Rob rmandevi...@litle.com wrote: We’ve got a technique for this at our shop. It requires the envInject plugin. You write a line such as: echo “varID = $varID” export_props.properties In the step after the shell

Re: Variable from shell script to Jenkins job

2014-01-23 Thread Naumenko, Roman
Yup, just checked and it works just fine. Gonna be doing a lot of this from now on :) Thank you, --Roman On 2014/01/23 12:48 PM, Maureen Barger wrote: We do this as well FWIW. On Thu, Jan 23, 2014 at 10:55 AM, Mandeville, Rob rmandevi...@litle.commailto:rmandevi...@litle.com wrote: We’ve