From 3ddec9208907d88a25678faef869c42904fc474c Mon Sep 17 00:00:00 2001 From: Alessandro Solimando Date: Fri, 26 Jul 2024 19:09:58 +0200 Subject: [PATCH] Syntax fix 4 --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c93d1c53a5f..ff0a5f309a8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -47,7 +47,6 @@ node('ubuntu') { build --no-parallel --no-daemon jacocoAggregateTestReport \ sonar -PenableJacoco -Porg.sonarqube.version=4.4.1.3373 \ -Dorg.gradle.jvmargs='${JVM_ARGS}' \ - -Dsonar.token=\$SONAR_TOKEN \ """.trim() def FULL_COMMAND @@ -67,7 +66,7 @@ node('ubuntu') { // to avoid problems with Groovy's interpolation for secrets withEnv(["SONAR_TOKEN=${SONAR_TOKEN}"]) { sh """ - ./gradlew ${FULL_COMMAND} + ./gradlew ${FULL_COMMAND} -Dsonar.token=\$SONAR_TOKEN """ } }