What kind of env vriables you are reffering to? Nodes ?
Slave/Master? System ( User / Machine / System context )? Build env variables, defined with build-scripts? For some part of the fun you can check out my battle against env variable mess in Jenkins that I find inacceptable in any production software .. http://stackoverflow.com/questions/12670572/passing-system-env-variable-into-jenkins-slave 2012/10/30 Michael Hüttermann <michael.huetterm...@googlemail.com> > thanks, but this solution has the indirection via another plugin. How can > I directly set environment variables in the Jenkins plugin? > > > Michael > > > > > On Tuesday, October 30, 2012 2:40:06 PM UTC+1, xterm wrote: >> >> Geez, sorry was in a hurry >> >> echo HG_CHANGESET=${HG_CHANGESET} > /tmp/workspace/hgchangeset.** >> properties >> >> where the variable ${HG_CHANGESET} contains the 123:abcdefghi value. >> >> xterm >> >> On Tuesday, October 30, 2012 8:10:38 AM UTC-5, Michael Hüttermann wrote: >>> >>> Hello, >>> >>> could you please give me a pointer what the recommended way is to set >>> environment variables in hudson.tasks.Builder#perform, which are in turn >>> read in a later build step inside the same job? >>> >>> >>> Thank you. >>> >>> >>> Cheers >>> Michael >>> >> -- A.C. Linards L.