mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-staging.git
synced 2025-08-29 03:42:39 +00:00
27 lines
375 B
Groovy
27 lines
375 B
Groovy
pipeline {
|
|
agent {
|
|
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|