Update Jenkinsfile
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -4,11 +4,17 @@ pipeline {
|
||||
stage('build') {
|
||||
steps {
|
||||
script {
|
||||
echo "Building the application..."
|
||||
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