Skip to content

Backport from master (Weekly) in stable-2.541 for LTS 2.541.1#833

Merged
dduportal merged 24 commits intojenkins-infra:stable-2.541from
dduportal:stable-2.541
Jan 8, 2026
Merged

Backport from master (Weekly) in stable-2.541 for LTS 2.541.1#833
dduportal merged 24 commits intojenkins-infra:stable-2.541from
dduportal:stable-2.541

Conversation

@dduportal
Copy link
Contributor

@dduportal dduportal commented Jan 8, 2026

Requires jenkinsci/packaging#728

This PR is a backport of required changes pushed to the primary branch since c8c5ac8 (used for the 2.541 weekly release), excluding 0fb5c67 (which initialized the stable-2.541 branch).

Most notable changes required for 2.541.1 LTS release are described in jenkins-infra/helpdesk#4945

Ref:

List of commits pushed on the `master` branch since c8c5ac8 (click to expand)
git rev-list --left-right --pretty=oneline upstream/master...upstream/stable-2.541 2>&1 | grep -v '>' | grep -v 'Merge pull request'

List of cherry-picked commits (click to expand) with justifications

Note: All mentioned PRs have been "merged" so we can ignore the "Merge commit" (not mentioned to avoid polluting the list).


List of ignored commits (click to expand) with justifications

lemeurherve and others added 24 commits January 8, 2026 16:31
…e pool of packaging pod template (jenkins-infra#813)

* feat(windows): use `w2022` node pool in packaging podTemplate

* specify which Windows version to use for dotnet/framework image

Avoid 'The container operating system does not match the host operating system.: unknown' error

* match jnlp Windows version with node pool Windows version

* fixup
Co-authored-by: Hervé Le Meur <[email protected]>
Co-authored-by: Hervé Le Meur <[email protected]>
… data from production to avoid conflicts between weekly and LTS lines

- Only retrieves the data from the currently generate release line by using the `RELEASELINE` variable to avoids jenkinsci/jenkins#25913
- Only retrieve the (unified) RPM binaries for the get.jenkins.io staging
- Only retrieve the (unified) RPM and Debian indexes for the pkg.origin.jenkins.io staging

Signed-off-by: Damien Duportal <[email protected]>
…m packaging functions to avoid unrelated failures during release build

Signed-off-by: Damien Duportal <[email protected]>
…M packages from before

Signed-off-by: Damien Duportal <[email protected]>
… and details how to safely create branch

Signed-off-by: Damien Duportal <[email protected]>
…rect datetime on packaging to avoid carrying unwanted changes to LTS

Signed-off-by: Damien Duportal <[email protected]>
Co-authored-by: Mark Waite <[email protected]>

Signed-off-by: Damien Duportal <[email protected]>
@dduportal dduportal marked this pull request as ready for review January 8, 2026 16:13
@dduportal dduportal requested a review from a team as a code owner January 8, 2026 16:13
@dduportal
Copy link
Contributor Author

Current diff with the master branch looks good:

git fetch --all --prune --tags
git diff upstream/master
diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml
index c2c91b6..dac388f 100644
--- a/.github/workflows/updatecli.yaml
+++ b/.github/workflows/updatecli.yaml
@@ -14,7 +14,7 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v6
       - name: Setup updatecli
-        uses: updatecli/updatecli-action@b846825b298f5351abd80f94c4f9eab63a38a804 # v2.98.0
+        uses: updatecli/updatecli-action@9a21b6911fe58865c8346d4fde3470010f49bf31 # v2.97.0
       - name: Diff
         run: updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
         env:
diff --git a/Jenkinsfile.d/core/package b/Jenkinsfile.d/core/package
index 67d859f..5aeb97e 100644
--- a/Jenkinsfile.d/core/package
+++ b/Jenkinsfile.d/core/package
@@ -94,7 +94,7 @@ pipeline {
     GPG_PASSPHRASE            = credentials('release-gpg-passphrase-2026')
     // Using HTTPS with no credentials - https://github.com/jenkins-infra/helpdesk/issues/4909 - need a GH app if rate limited or need to write things to git
     PACKAGING_GIT_REPOSITORY  = 'https://github.com/jenkinsci/packaging.git'
-    PACKAGING_GIT_BRANCH      = 'master'
+    PACKAGING_GIT_BRANCH      = 'stable-2.541'
     SIGN_KEYSTORE_FILENAME    = 'jenkins.pfx'
     SIGN_STOREPASS            = credentials('signing-cert-pass-2023')
     WAR_FILENAME              = 'jenkins.war'
diff --git a/Jenkinsfile.d/core/weekly b/Jenkinsfile.d/core/weekly
index d2b3878..4fbd297 100644
--- a/Jenkinsfile.d/core/weekly
+++ b/Jenkinsfile.d/core/weekly
@@ -5,28 +5,15 @@ pipeline {
     disableConcurrentBuilds()
   }
 
-  // Every Tuesday at 4:30:00 AM Coordinated Universal Time;
+  // Every Tuesday at 10:30:00 AM Coordinated Universal Time;
   triggers {
-    cron '30 4 * * 2'
+    cron '30 10 * * 2'
   }
 
   stages {
     stage("Release"){
       steps {
-        build job: "core/release/${ BRANCH_NAME }", parameters: [
-          booleanParam(name: "VALIDATION_ENABLED", value: false),
-          string(name: "RELEASE_PROFILE", value: "weekly")
-        ]
-      }
-    }
-
-    stage("Package"){
-      steps {
-        build job: "core/package/${ BRANCH_NAME }", parameters: [
-          booleanParam(name: "VALIDATION_ENABLED", value: false),
-          string(name: "RELEASE_PROFILE", value: "weekly"),
-          string(name: "JENKINS_VERSION", value: "latest")
-        ]
+        echo "Release build is disabled for security fixes"
       }
     }
   }
diff --git a/PodTemplates.d/package-linux.yaml b/PodTemplates.d/package-linux.yaml
index c4d04ee..92ac36f 100644
--- a/PodTemplates.d/package-linux.yaml
+++ b/PodTemplates.d/package-linux.yaml
@@ -10,7 +10,7 @@ spec:
   serviceAccountName: release-ci-jenkins-io-agents
   containers:
     - name: jnlp
-      image: jenkinsciinfra/packaging:8.2.15
+      image: jenkinsciinfra/packaging:8.2.12
       imagePullPolicy: "IfNotPresent"
       env:
         - name: "JENKINS_JAVA_BIN"
diff --git a/PodTemplates.d/package-windows.yaml b/PodTemplates.d/package-windows.yaml
index a1b4981..95a5760 100644
--- a/PodTemplates.d/package-windows.yaml
+++ b/PodTemplates.d/package-windows.yaml
@@ -11,7 +11,7 @@ metadata:
 spec:
   serviceAccountName: release-ci-jenkins-io-agents
   containers:
-  - image: jenkins/inbound-agent:3355.v388858a_47b_33-4-jdk21-nanoserver-ltsc2022
+  - image: jenkins/inbound-agent:3355.v388858a_47b_33-3-jdk21-nanoserver-ltsc2022
     imagePullPolicy: "IfNotPresent"
     name: "jnlp"
     env:
diff --git a/PodTemplates.d/release-linux.yaml b/PodTemplates.d/release-linux.yaml
index 957ee73..a575e43 100644
--- a/PodTemplates.d/release-linux.yaml
+++ b/PodTemplates.d/release-linux.yaml
@@ -10,7 +10,7 @@ spec:
   serviceAccountName: release-ci-jenkins-io-agents
   containers:
     - name: jnlp
-      image: jenkinsciinfra/packaging:8.2.15
+      image: jenkinsciinfra/packaging:8.2.12
       imagePullPolicy: "IfNotPresent"
       env:
         - name: "HOME"
diff --git a/profile.d/stable b/profile.d/stable
index 0883bc9..d04ecad 100644
--- a/profile.d/stable
+++ b/profile.d/stable
@@ -2,7 +2,7 @@
 # WARNING: Any variables defined here, override those defined from the Jenkinsfile
 #
 #
-RELEASE_GIT_BRANCH=master
+RELEASE_GIT_BRANCH=stable-2.541
 [email protected]:jenkinsci/jenkins.git
 [email protected]
 GIT_NAME="Jenkins Release Bot"
@@ -15,3 +15,4 @@ SIGN_ALIAS=jenkins
 
 # Used by jenkinsci/packaging
 RELEASELINE=-stable
+JENKINS_VERSION=2.541.1

Copy link
Contributor

@lemeurherve lemeurherve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final diff and cherry-pick choices LGTM

Copy link
Contributor Author

@dduportal dduportal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jenkinsci/packaging#728 has been merged and I have an approval: proceeding to merge and then triggering a "staging only packaging" build in release.ci.jenkins.io as a test match (with explicit 2.528.3 since 2.541.1 does not exist yet) to verify all packaging stuff is working as expected (unified RPM, new GPG key, bugfixes, etc.)

@dduportal dduportal merged commit 90c3d8c into jenkins-infra:stable-2.541 Jan 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-version:2.541.1 Indicate that this has been or will be used for this Jenkins Core LTS release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants