Skip to content

Instantly share code, notes, and snippets.

@robmaidment
Created February 15, 2017 15:16
Show Gist options
  • Save robmaidment/f3adf9d757f14af7746c881cc545befe to your computer and use it in GitHub Desktop.
Save robmaidment/f3adf9d757f14af7746c881cc545befe to your computer and use it in GitHub Desktop.
Getting a job parameter in a Jenkins System groovy script step
String jobToCopy = build.getEnvironment(listener).get( 'JOB' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment