Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 12:32:13 +00:00
parent a14a9d4f9a
commit f298808592

8
Jenkinsfile vendored
View File

@@ -4,11 +4,17 @@ pipeline {
stage('build') { stage('build') {
steps { steps {
script { script {
echo "Building the application..." echo "Building the application..."
echo "Branch $BRANCH_NAME"
} }
} }
} }
stage('test') { stage('test') {
when {
expression {
BRANCH_NAME == 'master'
}
}
steps { steps {
script { script {
echo "Testing the application..." echo "Testing the application..."