jenkins: fix syntax #5
This commit is contained in:
parent
08e051799d
commit
88cdd087f1
1 changed files with 1 additions and 2 deletions
|
@ -18,8 +18,7 @@ pipeline {
|
|||
(readMavenPom(file: 'pom.xml').version).contains("SNAPSHOT") }
|
||||
}
|
||||
steps {
|
||||
def pom = readMavenPom(file: 'pom.xml')
|
||||
error("Build failed because SNAPSHOT version: ${pom.groupId}:${pom.artifactId}:${pom.version}")
|
||||
error("Build failed because SNAPSHOT version")
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
|
|
Loading…
Reference in a new issue