Update Jenkinsfile
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -5,16 +5,10 @@ pipeline {
|
||||
steps {
|
||||
script {
|
||||
echo "Building the application..."
|
||||
echo "Branch $BRANCH_NAME"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('test') {
|
||||
when {
|
||||
expression {
|
||||
BRANCH_NAME == 'master'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
echo "Testing the application..."
|
||||
|
||||
Reference in New Issue
Block a user