From: David ‘Bombe’ Roden Date: Wed, 2 Oct 2024 11:22:40 +0000 (+0200) Subject: 💚 Don’t use the Gradle Daemon for running tasks X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ac054992ecd8c2be6fef649440e46245cc022df1;p=Sone.git 💚 Don’t use the Gradle Daemon for running tasks --- diff --git a/Jenkinsfile b/Jenkinsfile index 1ea275a..8dbd760 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { jdk 'OpenJDK 8' } steps { - sh './gradlew clean classes testClasses' + sh './gradlew --no-daemon clean classes testClasses' } } stage('Test (Java 8)') { @@ -19,7 +19,7 @@ pipeline { jdk 'OpenJDK 8' } steps { - sh './gradlew test jacocoTestReport' + sh './gradlew --no-daemon test jacocoTestReport' } post { always { @@ -34,7 +34,7 @@ pipeline { jdk 'OpenJDK 8' } steps { - sh './gradlew fatJar' + sh './gradlew --no-daemon fatJar' archiveArtifacts artifacts: 'build/libs/sone*-jar-with-dependencies.jar', fingerprint: true } } @@ -44,7 +44,7 @@ pipeline { } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh './gradlew clean test' + sh './gradlew --no-daemon clean test' } } } @@ -54,7 +54,7 @@ pipeline { } steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { - sh './gradlew clean test' + sh './gradlew --no-daemon clean test' } } }