Files
environment-ff-stage-euw1-g…/Jenkinsfile
2018-06-22 15:32:45 +01:00

32 lines
514 B
Groovy

pipeline {
agent {
label "jenkins-maven"
}
environment {
DEPLOY_NAMESPACE = "change-me"
}
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'
}
}
}
}
}
}