Skip to content

Commit b766e44

Browse files
authored
Use 2.504 as default base version (#2022)
* Process test results with latest npm Tying test result processing to a specific npm version seems excessive * Use Jenkins 2.504 as base version instead of 2.479 Newer plugin versions have been released that require 2.479.3. Use them.
1 parent 9301779 commit b766e44

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ test-%: prepare-test
102102
# Execute the test harness and write result to a TAP file
103103
IMAGE=$* bats/bin/bats $(bats_flags) | tee target/results-$*.tap
104104
# convert TAP to JUNIT
105-
docker run --rm -v "$(CURDIR)":/usr/src/app -w /usr/src/app node:18-alpine \
106-
sh -c "npm install tap-xunit -g && cat target/results-$*.tap | tap-xunit --package='jenkinsci.docker.$*' > target/junit-results-$*.xml"
105+
docker run --rm -v "$(CURDIR)":/usr/src/app -w /usr/src/app node:22-alpine \
106+
sh -c "npm install -g npm@latest && npm install tap-xunit -g && cat target/results-$*.tap | tap-xunit --package='jenkinsci.docker.$*' > target/junit-results-$*.xml"
107107

108108
test: prepare-test
109109
@make --silent list | while read image; do make --silent "test-$${image}"; done

alpine/hotspot/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ RUN mkdir -p ${REF}/init.groovy.d
9090

9191
# jenkins version being bundled in this docker image
9292
ARG JENKINS_VERSION
93-
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.479}
93+
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.504}
9494

9595
# jenkins.war checksum, download will be validated using it
96-
ARG JENKINS_SHA=910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49
96+
ARG JENKINS_SHA=efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32
9797

9898
# Can be used to customize where jenkins.war get downloaded from
9999
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war

debian/bookworm-slim/hotspot/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ RUN mkdir -p ${REF}/init.groovy.d
101101

102102
# jenkins version being bundled in this docker image
103103
ARG JENKINS_VERSION
104-
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.479}
104+
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.504}
105105

106106
# jenkins.war checksum, download will be validated using it
107-
ARG JENKINS_SHA=910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49
107+
ARG JENKINS_SHA=efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32
108108

109109
# Can be used to customize where jenkins.war get downloaded from
110110
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war

debian/bookworm/hotspot/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ RUN mkdir -p ${REF}/init.groovy.d
101101

102102
# jenkins version being bundled in this docker image
103103
ARG JENKINS_VERSION
104-
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.479}
104+
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.504}
105105

106106
# jenkins.war checksum, download will be validated using it
107-
ARG JENKINS_SHA=910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49
107+
ARG JENKINS_SHA=efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32
108108

109109
# Can be used to customize where jenkins.war get downloaded from
110110
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war

docker-bake.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ group "linux-ppc64le" {
4343
# ---- variables ----
4444

4545
variable "JENKINS_VERSION" {
46-
default = "2.479"
46+
default = "2.504"
4747
}
4848

4949
variable "JENKINS_SHA" {
50-
default = "910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49"
50+
default = "efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32"
5151
}
5252

5353
variable "REGISTRY" {

make.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Param(
33
[Parameter(Position=1)]
44
[String] $Target = 'build',
5-
[String] $JenkinsVersion = '2.479',
5+
[String] $JenkinsVersion = '2.504',
66
[switch] $DryRun = $false
77
)
88

rhel/ubi9/hotspot/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ RUN curl -fsSL "https://github.com/krallin/tini/releases/download/${TINI_VERSION
9292

9393
# jenkins version being bundled in this docker image
9494
ARG JENKINS_VERSION
95-
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.479}
95+
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.504}
9696

9797
# jenkins.war checksum, download will be validated using it
98-
ARG JENKINS_SHA=910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49
98+
ARG JENKINS_SHA=efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32
9999

100100
# Can be used to customize where jenkins.war get downloaded from
101101
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war

windows/windowsservercore/hotspot/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ RUN New-Item -ItemType Directory -Force -Path C:/ProgramData/Jenkins/Reference/i
9494

9595
# jenkins version being bundled in this docker image
9696
ARG JENKINS_VERSION
97-
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.479}
97+
ENV JENKINS_VERSION=${JENKINS_VERSION:-2.504}
9898

9999
# jenkins.war checksum, download will be validated using it
100-
ARG JENKINS_SHA=910ea36cef37c45087e39d65e335988e036fccea47c79cc5a52e721a10cb1b49
100+
ARG JENKINS_SHA=efc91d6be8d79dd078e7f930fc4a5f135602d0822a5efe9091808fdd74607d32
101101

102102
# Can be used to customize where jenkins.war get downloaded from
103103
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/${JENKINS_VERSION}/jenkins-war-${JENKINS_VERSION}.war

0 commit comments

Comments
 (0)