Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Simplify Java location in Jenkinsfile (#2221)
Dieser Commit ist enthalten in:
Ursprung
71bac009db
Commit
319cb636e5
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -4,16 +4,15 @@ pipeline {
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
stages {
|
||||
stage('Set JDK 17') {
|
||||
steps {
|
||||
tool name: 'Temurin-17.0.6+10', type: 'jdk'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
withEnv([
|
||||
"PATH+JAVA=${tool 'Temurin-17.0.6+10'}/bin"
|
||||
]) {
|
||||
sh './gradlew clean build'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Archive artifacts') {
|
||||
steps {
|
||||
sh 'rm -rf artifacts'
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren