diff --git a/build-sonarscanner.jenkins b/build-sonarscanner.jenkins index cd572e8..a3eb51f 100644 --- a/build-sonarscanner.jenkins +++ b/build-sonarscanner.jenkins @@ -24,7 +24,8 @@ pipeline { steps { script { workspace = pwd() - writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA()) + writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getCurrentRootCA()) + writeFile(file: workspace + "/test-chamber-13.lan.ret.root.crt", text: functions.getRetiredRootCA()) dockerFile = """FROM ${repository}/dockerhub/sonarsource/sonar-scanner-cli:latest LABEL org.opencontainers.image.authors="The_Spider " @@ -34,7 +35,7 @@ LABEL org.opencontainers.image.base.name="docker.io/sonarsource/sonar-scanner-cl USER root -COPY test-chamber-13.lan.root.crt /usr/local/share/ca-certificates/test-chamber-13.lan.root.crt +COPY test-chamber-13.lan.root.crt test-chamber-13.lan.ret.root.crt /usr/local/share/ca-certificates/ RUN update-ca-certificates --fresh USER scanner-cli