How to get enviroment variables / build parameters from groovy run on slave?

16 views
Skip to first unread message

Niksan

unread,
May 23, 2016, 1:05:44 PM5/23/16
to Jenkins Users
Pretty much as the subject says, getting them when running as a system script is easy enough, but as there's no access to 'build' a a none system script run on a slave, how does one do that?

Niksan

unread,
May 24, 2016, 5:08:30 AM5/24/16
to Jenkins Users
and, slightly changing my google search terms led me to this.

https://rucialk.wordpress.com/2016/03/17/jenkins-groovy-accessing-build-parameters/

Winner!
Reply all
Reply to author
Forward
0 new messages