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