From d0ffaf1d27ad0eee6981abb77b3b1c2ffa028bad Mon Sep 17 00:00:00 2001 From: Daniel Strebel Date: Wed, 18 Oct 2023 11:38:54 +0200 Subject: [PATCH] fix: failing nightly because of jenkins version incompatibility --- references/cicd-pipeline/jenkins-build/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/references/cicd-pipeline/jenkins-build/Dockerfile b/references/cicd-pipeline/jenkins-build/Dockerfile index 7a9d5f67d..e6b296e79 100644 --- a/references/cicd-pipeline/jenkins-build/Dockerfile +++ b/references/cicd-pipeline/jenkins-build/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. -FROM jenkins/jenkins:2.346.3-alpine +FROM jenkins/jenkins:2.346.3-lts-alpine USER root RUN apk update && apk add --no-cache git maven nodejs npm @@ -26,7 +26,7 @@ RUN mv /usr/bin/mvn /usr/bin/_mvn &&\ USER jenkins COPY --chown=jenkins plugins.txt /usr/share/jenkins/ref/plugins.txt -RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt +RUN jenkins-plugin-cli --plugin-file /usr/share/jenkins/ref/plugins.txt --jenkins-version 2.346.3 --latest false COPY --chown=jenkins jenkins.yml /var/jenkins_home/casc_configs/jenkins.yaml ENV CASC_JENKINS_CONFIG=/var/jenkins_home/casc_configs/jenkins.yaml