From 1e04d27bb701fc7ce30f85cf2871de7fcab91a51 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 21 Sep 2018 12:49:02 -0400 Subject: [PATCH] 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? --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5c3715bb3..19ae32e52 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } }