Files
environment-ff-stage-euw1-g…/Jenkinsfile
2018-06-22 14:08:09 +01:00

31 lines
463 B
Groovy

pipeline {
agent {
label "jenkins-maven"
}
stages {
stage('Validate Environment') {
steps {
container('maven') {
dir('env') {
sh 'jx step helm build'
}
}
}
}
stage('Update Environment') {
when {
branch 'master'
}
steps {
container('maven') {
dir('env') {
sh 'jx step helm apply'
}
}
}
}
}
}