From 9ae85780f520fe3a558d42a70b491ec8447d7932 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 13 Jul 2024 05:28:04 -0600 Subject: [PATCH 1/7] Replace 2.426 with 2.440 in documentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e3d184013..af4e9f16b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you are interested in a Bill of Materials for Jenkins core components, see [t After [selecting your plugin’s LTS baseline](https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/): ```xml -2.426.3 +2.440.3 ``` just import the [latest BOM](https://repo.jenkins-ci.org/public/io/jenkins/tools/bom) from that line: @@ -24,7 +24,7 @@ just import the [latest BOM](https://repo.jenkins-ci.org/public/io/jenkins/tools io.jenkins.tools.bom - bom-2.426.x + bom-2.440.x import pom @@ -182,7 +182,7 @@ PLUGINS=structs,mailer TEST=InjectedTest bash local-test.sh optionally also passing either ``` -LINE=2.426.x +LINE=2.440.x ``` or From c6c5a9cf8ec868365e6bce55be34a484987585f8 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 13 Jul 2024 05:31:40 -0600 Subject: [PATCH 2/7] Remove 2.426.x line Remove workflow-cps-plugin workaround Fixes https://github.com/jenkinsci/bom/issues/3301 --- bom-2.426.x/pom.xml | 115 ------------------------------------------ pct.sh | 10 ---- pom.xml | 1 - sample-plugin/pom.xml | 7 --- 4 files changed, 133 deletions(-) delete mode 100644 bom-2.426.x/pom.xml diff --git a/bom-2.426.x/pom.xml b/bom-2.426.x/pom.xml deleted file mode 100644 index 96735360f..000000000 --- a/bom-2.426.x/pom.xml +++ /dev/null @@ -1,115 +0,0 @@ - - - 4.0.0 - - io.jenkins.tools.bom - parent - ${changelist} - - bom-2.426.x - pom - - 6.858.v898218f3609d - 1261.v040121d29c7c - 1385.vb_58b_86ea_fff1 - - - - - ${project.groupId} - bom-2.440.x - ${project.version} - pom - import - - - io.jenkins.plugins - markdown-formatter - 167.v8a_428ca_49f89 - - - io.jenkins.plugins - pipeline-graph-view - 215.217.v2f6b_05084f10 - - - org.6wind.jenkins - lockable-resources - 1245.1247.vea_384d871c85 - - - org.jenkins-ci.plugins - cloudbees-folder - ${cloudbees-folder-plugin.version} - - - org.jenkins-ci.plugins - cloudbees-folder - ${cloudbees-folder-plugin.version} - tests - - - org.jenkins-ci.plugins - email-ext - 2.105 - - - org.jenkins-ci.plugins - git-client - 4.7.0 - - - org.jenkins-ci.plugins - mailer - 470.vc91f60c5d8e2 - - - org.jenkins-ci.plugins - matrix-project - 822.824.v14451b_c0fd42 - - - org.jenkins-ci.plugins - pipeline-input-step - 477.v339683a_8d55e - - - org.jenkins-ci.plugins - pipeline-utility-steps - 2.16.2 - - - org.jenkins-ci.plugins - role-strategy - 717.v6a_69a_fe98974 - - - org.jenkins-ci.plugins - subversion - ${subversion-plugin.version} - - - org.jenkins-ci.plugins - subversion - ${subversion-plugin.version} - tests - - - org.jenkins-ci.plugins.workflow - workflow-durable-task-step - 1331.vc8c2fed35334 - - - org.jenkins-ci.plugins.workflow - workflow-job - ${workflow-job-plugin.version} - - - org.jenkins-ci.plugins.workflow - workflow-job - ${workflow-job-plugin.version} - tests - - - - diff --git a/pct.sh b/pct.sh index d3bccf0bb..3729dfe02 100755 --- a/pct.sh +++ b/pct.sh @@ -20,16 +20,6 @@ if ! [[ $PLUGINS =~ blueocean || $PLUGINS =~ lockable-resources || $PLUGINS =~ p PCT_D_ARGS+='-DforkCount=.75C ' fi -# -# jenkinsci/workflow-cps-plugin#877 depends on jenkinsci/jenkins#9012, but only -# on Java 17 and newer. The 2.426.x line is the only remaining line to which -# jenkinsci/jenkins#9012 has not been backported. When we drop support for -# 2.426.x, this should be deleted. -# -if [[ $PLUGINS =~ pipeline-groovy-lib && $LINE == 2.426.x ]]; then - echo 'org.jenkinsci.plugins.workflow.libs.LibraryMemoryTest#loaderReleased' >>excludes.txt -fi - exec java \ -jar target/pct.jar \ test-plugins \ diff --git a/pom.xml b/pom.xml index a21651ec5..638a9cadd 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,6 @@ bom-weekly bom-2.452.x bom-2.440.x - bom-2.426.x sample-plugin diff --git a/sample-plugin/pom.xml b/sample-plugin/pom.xml index c20943b0d..4dce1dcab 100644 --- a/sample-plugin/pom.xml +++ b/sample-plugin/pom.xml @@ -1103,12 +1103,5 @@ 2.440.3 - - 2.426.x - - 2.426.x - 2.426.3 - - From 909a3454b498f8a1419a3e0c0b3dfc53aaaf40dd Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 13 Jul 2024 05:32:54 -0600 Subject: [PATCH 3/7] Add 2.462.x release line --- bom-2.462.x/pom.xml | 22 ++++++++++++++++++++++ pom.xml | 1 + sample-plugin/pom.xml | 8 ++++++++ 3 files changed, 31 insertions(+) create mode 100644 bom-2.462.x/pom.xml diff --git a/bom-2.462.x/pom.xml b/bom-2.462.x/pom.xml new file mode 100644 index 000000000..4278e7e10 --- /dev/null +++ b/bom-2.462.x/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + io.jenkins.tools.bom + parent + ${changelist} + + bom-2.462.x + pom + + + + ${project.groupId} + bom-weekly + ${project.version} + pom + import + + + + diff --git a/pom.xml b/pom.xml index 638a9cadd..cff193aba 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ bom-weekly + bom-2.462.x bom-2.452.x bom-2.440.x sample-plugin diff --git a/sample-plugin/pom.xml b/sample-plugin/pom.xml index 4dce1dcab..93185bb41 100644 --- a/sample-plugin/pom.xml +++ b/sample-plugin/pom.xml @@ -1089,6 +1089,14 @@ + + 2.462.x + + 2.462.x + + 2.462 + + 2.452.x From 5ba061e3025567cc0227facd0e319d29874f8960 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 13 Jul 2024 05:33:11 -0600 Subject: [PATCH 4/7] Use 2.452.3 instead of 2.452.1 as 2.452.x Jenkins version As recommended by "choosing a Jenkins version" and past practice. --- sample-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample-plugin/pom.xml b/sample-plugin/pom.xml index 93185bb41..c17714709 100644 --- a/sample-plugin/pom.xml +++ b/sample-plugin/pom.xml @@ -1101,7 +1101,7 @@ 2.452.x 2.452.x - 2.452.1 + 2.452.3 From 6cce6fe182b63ece19b31235cc3a8020ccc3a018 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 13 Jul 2024 05:36:03 -0600 Subject: [PATCH 5/7] Document the final 2.426.x BOM version --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index af4e9f16b..39bf820da 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ When an older Jenkins version is used, then the matching older version of the pl | bom-2.387.x | 2543.vfb_1a_5fb_9496d | | | bom-2.401.x | 2745.vc7b_fe4c876fa_ | | | bom-2.414.x | 2982.vdce2153031a_0 | | +| bom-2.426.x | 3193.v330d8248d39e | | The latest versions of all BOM lines are available from the [Jenkins artifact repository](https://repo.jenkins-ci.org/public/io/jenkins/tools/bom). From 99a27d3ae23d7a542db105494ed30aae155bc797 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 15 Jul 2024 09:51:27 -0600 Subject: [PATCH 6/7] bom-2.452.x must depend on bom-2.462.x Thanks to @jglick for detecting that mistake. Reported as https://github.com/jenkinsci/bom/pull/3374#pullrequestreview-2177691511 --- bom-2.452.x/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bom-2.452.x/pom.xml b/bom-2.452.x/pom.xml index 27f19a8a3..fbf7f1f6f 100644 --- a/bom-2.452.x/pom.xml +++ b/bom-2.452.x/pom.xml @@ -17,7 +17,7 @@ ${project.groupId} - bom-weekly + bom-2.462.x ${project.version} pom import From 86f5a5ca51c46f34e007414c1606b98ae2b7a82c Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Thu, 25 Jul 2024 09:03:52 -0600 Subject: [PATCH 7/7] Correct the bom-2.426.x final version in README Easier for me to find those old versions in the README rather than searching the releases list for comments that tell me when a line was dropped. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39bf820da..35e8994bf 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ When an older Jenkins version is used, then the matching older version of the pl | bom-2.387.x | 2543.vfb_1a_5fb_9496d | | | bom-2.401.x | 2745.vc7b_fe4c876fa_ | | | bom-2.414.x | 2982.vdce2153031a_0 | | -| bom-2.426.x | 3193.v330d8248d39e | | +| bom-2.426.x | 3208.vb_21177d4b_cd9 | | The latest versions of all BOM lines are available from the [Jenkins artifact repository](https://repo.jenkins-ci.org/public/io/jenkins/tools/bom).