From 3a1a3910a05c28a18e506551e6a590c5c53124ba Mon Sep 17 00:00:00 2001 From: Antonio Aversa Date: Mon, 16 Dec 2024 12:11:14 +0100 Subject: [PATCH] Add double quotes --- scripts/run-sonar-scanner-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-sonar-scanner-cli.sh b/scripts/run-sonar-scanner-cli.sh index 9e9ed7a..9914757 100755 --- a/scripts/run-sonar-scanner-cli.sh +++ b/scripts/run-sonar-scanner-cli.sh @@ -36,7 +36,7 @@ if [[ -n "${SONAR_ROOT_CERT}" ]]; then # keytool require a password > 6 characters, so we wan't use the default password 'sonar' store_pass=changeit mkdir -p "$SONAR_SSL_FOLDER" - $SONAR_SCANNER_JRE/bin/java sun.security.tools.keytool.Main -storetype PKCS12 -keystore $SONAR_SSL_FOLDER/truststore.p12 -storepass $store_pass -noprompt -trustcacerts -importcert -alias sonar -file $RUNNER_TEMP/tmpcert.pem + "$SONAR_SCANNER_JRE/bin/java" sun.security.tools.keytool.Main -storetype PKCS12 -keystore "$SONAR_SSL_FOLDER/truststore.p12" -storepass $store_pass -noprompt -trustcacerts -importcert -alias sonar -file "$RUNNER_TEMP/tmpcert.pem" scanner_args+=("-Dsonar.scanner.truststorePassword=$store_pass") fi