geforkt von Mirrors/Velocity
Never launch the Gradle daemon
Since we are using separate containers for each pipeline stage, the daemons get nicked once the stage is done. Why bother having them?
Dieser Commit ist enthalten in:
Ursprung
b894dfbdd4
Commit
1e04d27bb7
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh './gradlew build'
|
||||
sh './gradlew build --no-daemon'
|
||||
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
|
||||
}
|
||||
}
|
||||
@ -27,7 +27,7 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish'
|
||||
sh 'export MAVEN_DEPLOYMENT=true; ./gradlew publish --no-daemon'
|
||||
sh 'rsync -av --delete ./api/build/docs/javadoc/ /javadoc'
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren