Skip to content

Commit 3f0e25e

Browse files
authored
Merge branch 'weekly' into updatecli_weekly_2645acb742811c68ad33208c989ad3376834a7adf6070e6ccef72764e0e9b878
2 parents 68d5708 + a635dc8 commit 3f0e25e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

updatecli/updatecli.d/jenkins-weekly.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ sources:
2525
kind: jenkins
2626
spec:
2727
release: weekly # Specifies that the weekly release of Jenkins is to be fetched
28-
JenkinsLatestWeeklyJDK17:
29-
name: Get the latest Jenkins Weekly version with JDK 17
28+
JenkinsLatestWeeklyJDK21:
29+
name: Get the latest Jenkins Weekly version with JDK 21
3030
kind: jenkins
3131
spec:
3232
release: weekly # Specifies that the weekly release of Jenkins is to be fetched
33-
jdk: 17 # Specifies JDK 17 for the Jenkins version
33+
jdk: 21 # Specifies JDK 21 for the Jenkins version
3434
transformers:
35-
- addsuffix: "-jdk17" # Adds a suffix to the version to denote JDK 17
35+
- addsuffix: "-jdk21" # Adds a suffix to the version to denote JDK 21
3636

3737
# Define conditions that must be met for the pipeline to proceed.
3838
conditions:
@@ -49,13 +49,13 @@ conditions:
4949
spec:
5050
image: "jenkins/jenkins" # Specifies the Docker image to check
5151
transformers:
52-
- addsuffix: "-jdk17" # Adds a suffix to denote JDK 17
52+
- addsuffix: "-jdk21" # Adds a suffix to denote JDK 21
5353

5454
# Define the targets for the pipeline. These are the end goals the pipeline aims to achieve.
5555
targets:
5656
setJenkinsLatestWeekly:
5757
kind: dockerfile
58-
sourceid: JenkinsLatestWeeklyJDK17 # Links this target to the JenkinsLatestWeeklyJDK17 source
58+
sourceid: JenkinsLatestWeeklyJDK21 # Links this target to the JenkinsLatestWeeklyJDK21 source
5959
spec:
6060
file: dockerfiles/Dockerfile # Specifies the Dockerfile to be updated
6161
instruction:
@@ -69,7 +69,7 @@ actions:
6969
default:
7070
kind: github/pullrequest
7171
scmid: default # Links this action to the default SCM configuration
72-
title: Update Jenkins Weekly versions to {{ source "JenkinsLatestWeekly" }}-jdk17 in the controller Dockerfile
72+
title: Update Jenkins Weekly versions to {{ source "JenkinsLatestWeekly" }}-jdk21 in the controller Dockerfile
7373
spec:
7474
labels:
7575
- dependencies # Label for the pull request

0 commit comments

Comments
 (0)