Add missing error when snapshot

This commit is contained in:
Paul Campbell 2018-03-03 12:47:49 +00:00
parent cdd31fe49c
commit 352b3d1473

View file

@ -17,6 +17,9 @@ pipeline {
(env.GIT_BRANCH == 'master') &&
(readMavenPom(file: 'pom.xml').version).contains("SNAPSHOT") }
}
steps {
error("Build failed because SNAPSHOT version")
}
}
stage('Build') {
parallel {