Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 12:36:28 +00:00
parent 5ef50d2628
commit 6804a58c01

4
Jenkinsfile vendored
View File

@@ -5,14 +5,14 @@ pipeline {
steps {
script {
echo "Building the application..."
echo "Branch $GIT_BRANCH"
echo "Branch $env.GIT_BRANCH"
}
}
}
stage('test') {
when {
expression {
GIT_BRANCH == 'master'
env.GIT_BRANCH == 'master'
}
}
steps {