Files
environment-ff-stage-euw1-g…/Jenkinsfile

35 lines
561 B
Groovy

pipeline {
options {
disableConcurrentBuilds()
}
agent {
label "jenkins-maven"
}
environment {
DEPLOY_NAMESPACE = "jx-staging"
}
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'
}
}
}
}
}
}