Skip to content

Commit

Permalink
Syntax fix 6
Browse files Browse the repository at this point in the history
  • Loading branch information
asolimando committed Jul 26, 2024
1 parent f68ded0 commit f030e46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
}
}
}
Expand Down

0 comments on commit f030e46

Please sign in to comment.