Skip to content

Commit

Permalink
fix: failing nightly because of jenkins version incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
danistrebel committed Oct 18, 2023
1 parent c861299 commit d0ffaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions references/cicd-pipeline/jenkins-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d0ffaf1

Please sign in to comment.