mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-16 19:08:28 +00:00
Update entrypoint.sh
This commit is contained in:
parent
83941e42d8
commit
87ed5ce466
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ fi
|
||||||
|
|
||||||
if [[ -n "${SONAR_ROOT_CERT}" ]]; then
|
if [[ -n "${SONAR_ROOT_CERT}" ]]; then
|
||||||
echo "Adding custom root certificate to java certificate store"
|
echo "Adding custom root certificate to java certificate store"
|
||||||
|
rm -f /tmp/tmpcert.pem
|
||||||
echo "${SONAR_ROOT_CERT}" > /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 -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/tmpcert.pem
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue