Jenkinsfile Environment Declarative
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