Added all commands

This commit is contained in:
Guillem Hernández Sola
2017-04-03 15:26:42 +02:00
parent 7f27c8c3e6
commit 8f2d4e6205
5 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
pipeline {
agent any
environment {
FOO = "BAZ"
}
stages {
stage("baz") {
steps {
sh 'echo "FOO is $FOO"'
}
}
stage("bar") {
environment {
FOO = "BAR"
}
steps {
sh 'echo "FOO is $FOO"'
}
}
}
}