mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-14 18:31:14 +00:00
Update entrypoint.sh
This commit is contained in:
parent
a1b5d0a0f6
commit
6992403196
1 changed files with 4 additions and 4 deletions
|
|
@ -14,11 +14,11 @@ if [[ -z "${SONAR_HOST_URL}" ]]; then
|
|||
fi
|
||||
|
||||
if [[ -n "${SONAR_ROOT_CERT}" ]]; then
|
||||
echo "Adding custom root certificate to java certificate store"
|
||||
rm -f /tmp/tmpcert.pem
|
||||
echo "${SONAR_ROOT_CERT}" > /tmp/tmpcert.pem
|
||||
#echo "Adding custom root certificate to java certificate store"
|
||||
#rm -f /tmp/tmpcert.pem
|
||||
#echo "${SONAR_ROOT_CERT}" > /tmp/tmpcert.pem
|
||||
#keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/tmpcert.pem
|
||||
keytool -J-Duser.language=en -noprompt -trustcacerts -keystore /usr/local/openjdk-17/lib/security/cacerts -storepass changeit -alias sonarqube -import -file /tmp/tmpcert.pem
|
||||
#keytool -J-Duser.language=en -noprompt -trustcacerts -keystore /usr/local/openjdk-17/lib/security/cacerts -storepass changeit -alias sonarqube -import -file /tmp/tmpcert.pem
|
||||
fi
|
||||
|
||||
if [[ -f "${INPUT_PROJECTBASEDIR%/}pom.xml" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue