3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

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:
Andrew Steinborn 2018-09-21 12:49:02 -04:00
Ursprung b894dfbdd4
Commit 1e04d27bb7

4
Jenkinsfile vendored
Datei anzeigen

@ -9,7 +9,7 @@ pipeline {
} }
} }
steps { steps {
sh './gradlew build' sh './gradlew build --no-daemon'
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar' archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
} }
} }
@ -27,7 +27,7 @@ pipeline {
} }
} }
steps { 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' sh 'rsync -av --delete ./api/build/docs/javadoc/ /javadoc'
} }
} }