Update Jenkinsfile

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

6
Jenkinsfile vendored
View File

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