Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 12:38:24 +00:00
parent 6804a58c01
commit c8f9061ef6

3
Jenkinsfile vendored
View File

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