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