mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-production.git
synced 2025-08-29 03:22:41 +00:00
only install when in master branch
This commit is contained in:
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@@ -3,8 +3,19 @@ pipeline {
|
||||
label "jenkins-maven"
|
||||
}
|
||||
|
||||
|
||||
stages {
|
||||
stage('Validate Environment') {
|
||||
steps {
|
||||
container('maven') {
|
||||
sh 'make build'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Update Environment') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
container('maven') {
|
||||
sh 'make install'
|
||||
|
Reference in New Issue
Block a user