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
7c926bc002
commit
3b77681a18
1 changed files with 3 additions and 3 deletions
|
|
@ -15,10 +15,10 @@ 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
|
||||
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 /opt/java/openjdk/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