From 3bc3de97e23b6cf315136a189a4dc68a2aa56168 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Tue, 7 May 2024 07:29:24 -0600 Subject: [PATCH] Require Jenkins 2.426.3 or newer (#1581) * Require Jenkins 2.426.3 or newer https://stats.jenkins.io/pluginversions/git.html shows that 82% of the 125k installations of the 5.2.1 release (most recent, 6 months old) are already running 2.426.3 or newer. https://www.jenkins.io/security/advisory/2024-01-24/#SECURITY-3314 was published in Jan 2024 and strongly recommends that users upgrade to 2.426.3 or newer. * Test with promoted-builds 940.va_9b_59a_717a_b_1 Removes the dependency on project-inheritance. Previous releases resolved the security issue that was still open in 3.11. * Remove recently introduced trailing white space * Remove dependabot exclusion of promoted builds * Use (optional) promoted builds 945.v597f5c6a_d3fd * Remove diff to master branch * Bump promoted-builds optional dependency to 892.vd6219fc0a_efb 892.vd6219fc0a_efb was released 2 years ago. Over 50% of all installations of the promoted builds plugin are already using 892.vd6219fc0a_efb or newer. Those users will see no difference from this change, since they are already using 892.vd6219fc0a_efb. Recent Jenkins versions will display broken icons with older versions of the promoted builds plugin. Fixed in https://github.com/jenkinsci/promoted-builds-plugin/pull/170 as part of 873.v6149db_d64130. Upgrading to 892.vd6219fc0a_efb will fix that issue for users. https://stats.jenkins.io/pluginversions//promoted-builds.html shows that 892.vd6219fc0a_efb is the second most popular release. It is second only to the most recent release, 945.v597f5c6a_d3fd. Attempts to update that optional dependency to the most recent release have shown consistent failures in the plugin bill of materials. * https://github.com/jenkinsci/bom/pull/3170 * https://github.com/jenkinsci/bom/pull/2809 This likely needs to be combined with the parameterized trigger plugin upgrade of the same dependency to the same version. Refer to * https://github.com/jenkinsci/parameterized-trigger-plugin/pull/378 Bumps [promoted-builds](https://github.com/jenkinsci/promoted-builds-plugin) from 3.11 to 892.vd6219fc0a_efb - [Release notes](https://github.com/jenkinsci/promoted-builds-plugin/releases/tag/892.vd6219fc0a_efb) * Do not check for promoted-builds updates --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 1e2190283c..3fde21aff8 100644 --- a/pom.xml +++ b/pom.xml @@ -72,7 +72,7 @@ 5.2.2 -SNAPSHOT jenkinsci/${project.artifactId}-plugin - 2.414.3 + 2.426.3 false true @@ -87,8 +87,8 @@ io.jenkins.tools.bom - bom-2.414.x - 2982.vdce2153031a_0 + bom-2.426.x + 3023.v02a_987a_b_3ff9 pom import @@ -183,7 +183,7 @@ org.jenkins-ci.plugins promoted-builds - 3.11 + 892.vd6219fc0a_efb true