Guest User

Untitled

a guest
Feb 25th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. // This does not work if Use Groovy Sandbox is enabled
  2. // Execute this as a system Groovy script in Jenkins
  3. def thr = Thread.currentThread()
  4. def build = thr?.executable
  5. def env = build.parent.builds[0].properties.get("envVars")
  6. env.each{
  7. println it
  8. }
Add Comment
Please, Sign In to add comment