Last active
November 17, 2022 14:43
-
-
Save guilhermelinhares/7c8420a3199fbeafa4243f9dd43f1122 to your computer and use it in GitHub Desktop.
Print all variables jenkins pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent any | |
stages { | |
stage("Print Variables") { | |
steps { | |
sh "printenv | sort" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment