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()
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user