mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-29 05:35:15 +01:00
Fix build
This commit is contained in:
parent
6405ac30c8
commit
f3cd544612
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -11,11 +11,6 @@ pipeline {
|
|||||||
timestamps()
|
timestamps()
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
|
||||||
COMMIT = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").trim()
|
|
||||||
VERSION = readMavenPom().getVersion()
|
|
||||||
}
|
|
||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
githubPush()
|
githubPush()
|
||||||
}
|
}
|
||||||
@ -42,10 +37,6 @@ pipeline {
|
|||||||
|
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
|
||||||
currentBuild.displayName = "${VERSION} #${BUILD_NUMBER}".replace("-SNAPSHOT", "")
|
|
||||||
currentBuild.description = "git-AuthMeReloaded-${COMMIT}"
|
|
||||||
}
|
|
||||||
sh 'mvn -B clean package'
|
sh 'mvn -B clean package'
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
Loading…
Reference in New Issue
Block a user