From f030e4686e0700ef53f1cc437215e16f1beae816 Mon Sep 17 00:00:00 2001 From: Alessandro Solimando Date: Fri, 26 Jul 2024 19:16:35 +0200 Subject: [PATCH] Syntax fix 6 --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fca3886b9e34..10a8af418cf1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -63,9 +63,7 @@ node('ubuntu') { // to avoid problems with Groovy's interpolation for secrets withCredentials([string(credentialsId: 'SONARCLOUD_TOKEN', variable: 'SONAR_TOKEN')]) { - sh """ - ./gradlew ${FULL_COMMAND} -Dsonar.token=${SONAR_TOKEN} - """ + sh '${FULL_COMMAND} -Dsonar.token=${SONAR_TOKEN}' } } }