From ac054992ecd8c2be6fef649440e46245cc022df1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 2 Oct 2024 13:22:40 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=92=9A=20Don=E2=80=99t=20use=20the=20Gradl?= =?utf8?q?e=20Daemon=20for=20running=20tasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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' } } } -- 2.7.4