Skip to content
Snippets Groups Projects
Commit 257f93c6 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

POM version corrected in Jenkinsfile

parent e6703701
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ node { ...@@ -15,7 +15,7 @@ node {
stage('Publish') { stage('Publish') {
def pom = readMavenPom file: 'pom.xml' def pom = readMavenPom file: 'pom.xml'
def pName = pom.artifactId def pName = pom.artifactId
def pVersion = pom.parent.version def pVersion = pom.version
def snapshot = pVersion.contains("SNAPSHOT") def snapshot = pVersion.contains("SNAPSHOT")
if (snapshot) { if (snapshot) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment