diff --git a/Jenkinsfile b/Jenkinsfile index b3fcc48..666f0f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'