mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-15 18:46:31 +00:00
CA_MAIF_ROOTCA
This commit is contained in:
parent
ec8d1a9c90
commit
24fc13b81f
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ if [[ -n "${SONAR_ROOT_CERT}" ]]; then
|
|||
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
|
||||
|
||||
echo "${SONAR_ROOT_CERT}" > /tmp/CA_MAIF_ROOTCA.pem
|
||||
keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/CA_MAIF_ROOTCA.pem
|
||||
fi
|
||||
|
||||
if [[ -f "${INPUT_PROJECTBASEDIR%/}pom.xml" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue