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
>>
>