I think System Groovy script would be the best solution since they allow 
the access to Jenkins binary API. It should be used with care, but AFAIK it 
is the only way for such "exotic" use-cases 

See Groovy plugin and Scriptler plugin.

понедельник, 21 ноября 2016 г., 16:06:07 UTC+3 пользователь Kul Bhushan 
Srivastava написал:
>
> Can anybody suggest. How to do it?
>
> I tried to do it other way as well. I set a system environment variable 
> through 'Execute Windows Batch' build step. The variable got set 
> successfully. But it is not available in the next step unless I restart the 
> jenkins server.
>
> Please help.
>
> On Friday, 18 November 2016 23:16:36 UTC+5:30, Kul Bhushan Srivastava 
> wrote:
>>
>> How to change the default value of Global Environment Variable through 
>> build job configuration at run time?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/b5d31007-2b2d-4044-80ad-bd2aff75798e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to