Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 12:33:08 +00:00
parent f298808592
commit 1c02e35f97

4
Jenkinsfile vendored
View File

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