Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 12:35:52 +00:00
parent 1c02e35f97
commit 5ef50d2628

4
Jenkinsfile vendored
View File

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