Update 'build-sonarscanner.jenkins'

This commit is contained in:
Hyatt 2021-10-11 23:12:41 +00:00
parent d42d05afe8
commit 933c231616

View File

@ -63,14 +63,8 @@ RUN printf '%s\\n' "-----BEGIN CERTIFICATE-----" \\
"HQ8BAf8EBAMCAYYwCgYIKoZIzj0EAwQDaAAwZQIxAJdgskimDJkf/MGVRrKotmNC" \\
"xdH/UVQfQppjIR9FAiGeFDr47thclYrzIL6yCkV7nwIwYjf3MbOm/yWblzqe3Uyw" \\
"UOemMEg3PjcKNsN65W2WVon5HIZx2XVfGRPjf5ZTVWzZ" \\
"-----END CERTIFICATE-----" > /etc/ssl/private/test-chamber-13.lan.root.crt && \\
keytool \\
-importcert \\
-noprompt \\
-alias test-chamber-13 \\
-file /etc/ssl/private/test-chamber-13.lan.root.crt \\
-keystore /opt/java/openjdk/lib/security/cacerts \\
-storepass "changeit"
"-----END CERTIFICATE-----" > /usr/local/share/ca-certificates/test-chamber-13.lan.root.crt && \\
update-ca-certificates --fresh
USER scanner-cli
"""