Created
October 16, 2016 09:50
-
-
Save JeanMertz/d438e25a354c541e669325967ea46f31 to your computer and use it in GitHub Desktop.
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
node { | |
// # # + echo foo is: | |
// foo is: | |
withEnv(['FOO=bar']) { | |
sh 'echo "foo is: $FOO"' | |
} | |
// # # + echo hello is: | |
// hello is: | |
env.HELLO = 'world' | |
sh 'echo "hello is: $HELLO"' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment