diff --git a/build-sonarscanner.jenkins b/build-sonarscanner.jenkins index bc914e6..22b41fe 100644 --- a/build-sonarscanner.jenkins +++ b/build-sonarscanner.jenkins @@ -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 """