mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-04-24 05:48:50 +00:00
SQCPPGHA-9 Extend action to support C, C++, and Objective-C projects (#161)
This commit is contained in:
parent
844ce2710b
commit
00e62e1190
19 changed files with 1118 additions and 22 deletions
8
scripts/cert.sh
Executable file
8
scripts/cert.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
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
|
||||
keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/tmpcert.pem
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue