diff --git a/dockerfiles/Dockerfile b/dockerfiles/Dockerfile index adac89f9..a0d40980 100644 --- a/dockerfiles/Dockerfile +++ b/dockerfiles/Dockerfile @@ -1,7 +1,7 @@ # This Dockerfile is used to create a Jenkins server with a specific version and pre-configured settings. # We start by defining an ARG for the Jenkins version. This allows us to easily change the version of Jenkins we want to use. -ARG JENKINS_VERSION=2.452.3 +ARG JENKINS_VERSION=2.447 # We then use the official Jenkins image with the specified version as our base image. FROM jenkins/jenkins:"${JENKINS_VERSION}" diff --git a/updatecli/updatecli.d/jenkins-lts.yaml b/updatecli/updatecli.d/jenkins-weekly.yaml similarity index 53% rename from updatecli/updatecli.d/jenkins-lts.yaml rename to updatecli/updatecli.d/jenkins-weekly.yaml index b5fb62e8..7e97b8ac 100644 --- a/updatecli/updatecli.d/jenkins-lts.yaml +++ b/updatecli/updatecli.d/jenkins-weekly.yaml @@ -1,5 +1,5 @@ --- -name: Bump Jenkins' LTS version in the controller Dockerfile +name: Bump Jenkins' Weekly version in the controller Dockerfile scms: default: @@ -14,35 +14,35 @@ scms: branch: "{{ .github.branch }}" sources: - JenkinsLatestLTS: - name: Get the latest Jenkins LTS version - kind: shell + JenkinsLatestWeekly: + name: Get the latest Jenkins Weekly version + kind: jenkins spec: - command: bash ./updatecli/scripts/jenkins-lts.sh 0 # source input value passed as argument + release: weekly conditions: - # Test that the latest LTS Jenkins version exists - jenkinsLatestLTSVersion: + # Test that the latest Weekly Jenkins version exists + jenkinsLatestWeeklyVersion: kind: jenkins - sourceid: JenkinsLatestLTS + sourceid: JenkinsLatestWeekly targets: - setJenkinsLatestLTS: + setJenkinsLatestWeekly: kind: dockerfile spec: file: dockerfiles/Dockerfile instruction: keyword: "ARG" matcher: "JENKINS_VERSION" - name: "[jenkins-controller] Bump Jenkins LTS version in dockerfiles/Dockerfile" - sourceid: JenkinsLatestLTS + name: "[jenkins-controller] Bump Jenkins Weekly version in dockerfiles/Dockerfile" + sourceid: JenkinsLatestWeekly scmid: default actions: default: kind: github/pullrequest scmid: default - title: Update Jenkins LTS versions to {{ source "JenkinsLatestLTS" }} in the controller Dockerfile + title: Update Jenkins Weekly versions to {{ source "JenkinsLatestWeekly" }} in the controller Dockerfile spec: labels: - dependencies