Skip to content

Weekly #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
@@ -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}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Bump Jenkins' LTS version in the controller Dockerfile
name: Bump Jenkins' Weekly version in the controller Dockerfile

scms:
default:
Expand All @@ -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
Expand Down
Loading