Hi,

I've been using system groovy commands in my build steps pretty 
successfully for a while. Now that I have larger number of jobs doing the 
same commands it would be a good idea to have them all run the same groovy 
script file. However I can't figure out how to do that.

Where does the groovy script need to be stored? I tried putting it at 
/tmp/script_name on the master but it wasn't executed when I ran the job.

Also, variable bindings? my groovy code access things like the current 
build and resolves variables etc, do I need to something with the variable 
bindings box in order to get the same functionality from a script?

Thanks

Reply via email to