@@ -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.
3838conditions :
@@ -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.
5555targets :
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