Fix build

This commit is contained in:
Gabriele C 2018-07-16 16:48:45 +02:00
parent 6405ac30c8
commit f3cd544612

9
Jenkinsfile vendored
View File

@ -11,11 +11,6 @@ pipeline {
timestamps()
}
environment {
COMMIT = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").trim()
VERSION = readMavenPom().getVersion()
}
triggers {
githubPush()
}
@ -42,10 +37,6 @@ pipeline {
stage ('Build') {
steps {
script {
currentBuild.displayName = "${VERSION} #${BUILD_NUMBER}".replace("-SNAPSHOT", "")
currentBuild.description = "git-AuthMeReloaded-${COMMIT}"
}
sh 'mvn -B clean package'
}
post {