Last active
October 5, 2017 02:57
-
-
Save 23jodys/0d3742a40bb084ebfae493d13b8119f4 to your computer and use it in GitHub Desktop.
Jenkinsfile Environment Declarative
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('Example') { | |
steps { | |
// interpolated by the shell | |
sh 'echo Shell $PWD' | |
// interpolated by the shell | |
sh '''echo Shell $PWD''' | |
// interpolated in this file by Groovy | |
sh "echo Groovy $PWD"}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment