Re: parameterized values passed to a groovy build step

2012-04-24 Thread Maven User
Not sure if anyone cares, but this is what I got working based on an example I found on the groovy plugin page: (there is likely way better ways to manage this) import hudson.util.* import hudson.model.* // get current thread / Executor def thr = Thread.currentThread() // get current build def b

parameterized values passed to a groovy build step

2012-04-24 Thread Maven User
Hi all - I have a job that needs to execute a groovy pre- step that sets a global environment variable. Is there anyway to do this? I have tried the following: for (nodeproperty in hudson.model.Hudson.instance.globalNodeProperties) { println(nodeproperty.getEnvVars()); nodeproperty.get