Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This does not work if Use Groovy Sandbox is enabled
- // Execute this as a system Groovy script in Jenkins
- def thr = Thread.currentThread()
- def build = thr?.executable
- def env = build.parent.builds[0].properties.get("envVars")
- env.each{
- println it
- }
Add Comment
Please, Sign In to add comment