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?
This commit is contained in:
Andrew Steinborn
2018-09-21 12:49:02 -04:00
parent b894dfbdd4
commit 1e04d27bb7

4
Jenkinsfile vendored
View File

@@ -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'
}
}