Skip to content

Commit

Permalink
Merge pull request #709 from danistrebel/fix/jenkins-version-management
Browse files Browse the repository at this point in the history
fix: failing nightly because of jenkins version incompatibility
  • Loading branch information
danistrebel authored Oct 18, 2023
2 parents 79f1fb0 + adcbd19 commit 0016d9d
Show file tree
Hide file tree
Showing 2 changed files with 3 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
1 change: 1 addition & 0 deletions references/cicd-pipeline/jenkins-build/plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ configuration-as-code:1569.vb_72405b_80249
cucumber-reports:5.7.3
git:4.11.5
htmlpublisher:1.30
javax-mail-api:1.6.2-8
junit:1119.1121.vc43d0fc45561
mask-passwords:3.3
token-macro:293.v283932a_0a_b_49
Expand Down

0 comments on commit 0016d9d

Please sign in to comment.