Skip to content

Instantly share code, notes, and snippets.

@onyxhat
Forked from CodeFreezr/printenv.groovy
Created February 26, 2019 18:44
Show Gist options
  • Save onyxhat/ade4a138e1506937742fc9287ea1992d to your computer and use it in GitHub Desktop.
Save onyxhat/ade4a138e1506937742fc9287ea1992d to your computer and use it in GitHub Desktop.
Jenkins Groovy to print all env-variables
def env = System.getenv()
env.each{
println it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment