jenkinsci / configuration-as-code-plugin

Jenkins Configuration as Code Plugin
https://plugins.jenkins.io/configuration-as-code
MIT License
2.7k stars 722 forks source link

Update plugin-bom.version to v3435 (major) #2568

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.jenkins.tools.bom:bom-2.440.x (source) 3387.v0f2773fa_3200 -> 3435.v238d66a_043fb_ age adoption passing confidence
io.jenkins.tools.bom:bom-2.452.x (source) 3387.v0f2773fa_3200 -> 3435.v238d66a_043fb_ age adoption passing confidence

Release Notes

jenkinsci/bom (io.jenkins.tools.bom:bom-2.440.x) ### [`v3435.v238d66a_043fb_`](https://redirect.github.com/jenkinsci/bom/releases/tag/3435.v238d66a_043fb_) [Compare Source](https://redirect.github.com/jenkinsci/bom/compare/3413.v0d896b_76a_30d...3435.v238d66a_043fb_) ##### πŸ› Bug fixes - Build fails when sorting plugins with uppercase artifact name ([#​3671](https://redirect.github.com/jenkinsci/bom/issues/3671)) [@​basil](https://redirect.github.com/basil) ##### πŸ“¦ Dependency updates - Bump org.jenkins-ci.plugins:plugin from 4.88 to 5.0 in /sample-plugin ([#​3675](https://redirect.github.com/jenkinsci/bom/issues/3675)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:junit from 1302.va_b\_878c32eb_b\_5 to 1303.v05e2505656b\_7 in /bom-weekly ([#​3674](https://redirect.github.com/jenkinsci/bom/issues/3674)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:active-directory from 2.36 to 2.37 in /bom-weekly ([#​3670](https://redirect.github.com/jenkinsci/bom/issues/3670)) [@​dependabot](https://redirect.github.com/dependabot) - Bump mina-sshd-api.version from 2.13.2-125.v200281b\_61d59 to 2.14.0-131.v04e9b\_6b_e0362 in /bom-weekly ([#​3668](https://redirect.github.com/jenkinsci/bom/issues/3668)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins.workflow:workflow-job from 1436.vfa\_244484591f to 1441.vb\_2d416905b\_35 in /bom-weekly ([#​3666](https://redirect.github.com/jenkinsci/bom/issues/3666)) [@​dependabot](https://redirect.github.com/dependabot) - Update dependency org.jenkins-ci.main:jenkins-war to v2.479 ([#​3665](https://redirect.github.com/jenkinsci/bom/issues/3665)) [@​renovate](https://redirect.github.com/renovate) - Bump org.jenkins-ci.plugins:credentials from 1380.va\_435002fa\_924 to 1381.v2c3a\_12074da_b\_ in /bom-weekly ([#​3664](https://redirect.github.com/jenkinsci/bom/issues/3664)) [@​dependabot](https://redirect.github.com/dependabot) - Bump pipeline-maven-plugin.version from 1421.v610fa_b_e2d60e to 1457.vf7a_de13b_c0d4 in /bom-weekly ([#​3661](https://redirect.github.com/jenkinsci/bom/issues/3661)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:oic-auth from 4.354.v321ce67a\_1de8 to 4.355.v3a_fb_fca_b\_96d4 in /bom-weekly ([#​3662](https://redirect.github.com/jenkinsci/bom/issues/3662)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:ldap from 756.v2f20b\_801f120 to 759.vef7f616475df in /bom-weekly ([#​3663](https://redirect.github.com/jenkinsci/bom/issues/3663)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:ldap from 753.v387f5b\_3ea\_8d0 to 756.v2f20b\_801f120 in /bom-weekly ([#​3660](https://redirect.github.com/jenkinsci/bom/issues/3660)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:credentials from 1378.v81ef4269d764 to 1380.va\_435002fa\_924 in /bom-weekly ([#​3656](https://redirect.github.com/jenkinsci/bom/issues/3656)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:build-user-vars-plugin from 178.v69708a\_7a_dc17 to 182.v378b\_9f14b\_487 in /bom-weekly ([#​3655](https://redirect.github.com/jenkinsci/bom/issues/3655)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:matrix-project from 832.va\_66e270d2946 to 838.v4d7b\_7b_f9b_d4b\_ in /bom-weekly ([#​3654](https://redirect.github.com/jenkinsci/bom/issues/3654)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.modules:instance-identity from 185.v303dc7c645f9 to 201.vd2a_b\_5a\_468a_a\_6 in /bom-weekly ([#​3650](https://redirect.github.com/jenkinsci/bom/issues/3650)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:resource-disposer from 0.23 to 0.24 in /bom-weekly ([#​3649](https://redirect.github.com/jenkinsci/bom/issues/3649)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:database-sqlite from 1.7 to 1.8 in /bom-weekly ([#​3648](https://redirect.github.com/jenkinsci/bom/issues/3648)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:ldap from 733.vd3700c27b\_043 to 753.v387f5b\_3ea\_8d0 in /bom-weekly ([#​3647](https://redirect.github.com/jenkinsci/bom/issues/3647)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:byte-buddy-api from 1.15.1-59.v81e90f37c4c6 to 1.15.3-65.vdef5c3465747 in /bom-weekly ([#​3646](https://redirect.github.com/jenkinsci/bom/issues/3646)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:oss-symbols-api from 71.v08d42ee3785d to 75.v337a\_1c270ffc in /bom-weekly ([#​3645](https://redirect.github.com/jenkinsci/bom/issues/3645)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:mailer from 472.vf7c289a\_4b\_420 to 488.v0c9639c1a_eb\_3 in /bom-weekly ([#​3644](https://redirect.github.com/jenkinsci/bom/issues/3644)) [@​dependabot](https://redirect.github.com/dependabot) ### [`v3413.v0d896b_76a_30d`](https://redirect.github.com/jenkinsci/bom/releases/tag/3413.v0d896b_76a_30d) [Compare Source](https://redirect.github.com/jenkinsci/bom/compare/3387.v0f2773fa_3200...3413.v0d896b_76a_30d) ##### πŸš€ New features and improvements - Add Build Monitor to the managed set ([#​3634](https://redirect.github.com/jenkinsci/bom/issues/3634)) [@​basil](https://redirect.github.com/basil) - Add Badge to the managed set [#​3607](https://redirect.github.com/jenkinsci/bom/issues/3607) ([#​3627](https://redirect.github.com/jenkinsci/bom/issues/3627)) [@​darinpope](https://redirect.github.com/darinpope) ##### πŸ‘» Maintenance - Revert warnings-ng 11.7.0 and analysis-model-api 12.7.0 ([#​3614](https://redirect.github.com/jenkinsci/bom/issues/3614)) [@​MarkEWaite](https://redirect.github.com/MarkEWaite) - auto-build weekly instead of manually ([#​3640](https://redirect.github.com/jenkinsci/bom/issues/3640)) [@​darinpope](https://redirect.github.com/darinpope) ##### πŸ“¦ Dependency updates - Bump org.jenkins-ci.plugins:cloudbees-folder from 6.951.v5f91d88d76b_b\_ to 6.955.v81e2a\_35c08d3 in /bom-weekly ([#​3642](https://redirect.github.com/jenkinsci/bom/issues/3642)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins.workflow:workflow-cps from 3964.v0767b\_4b_a\_0b_fa\_ to 3969.vdc9d3a_efcc6a\_ in /bom-weekly ([#​3641](https://redirect.github.com/jenkinsci/bom/issues/3641)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:junit from 1300.v03d9d8a_cf1fb\_ to 1302.va_b\_878c32eb_b\_5 in /bom-weekly ([#​3638](https://redirect.github.com/jenkinsci/bom/issues/3638)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:flyway-api from 10.18.1-161.v8cc01e08c2c0 to 10.18.2-163.v10696ed45dd6 in /bom-weekly ([#​3639](https://redirect.github.com/jenkinsci/bom/issues/3639)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:pipeline-graph-view from 348.vdb_a_dd48d7c11 to 349.veda_b_e2366d99 in /bom-weekly ([#​3636](https://redirect.github.com/jenkinsci/bom/issues/3636)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:pipeline-graph-view from 340.v28cecee8b\_25f to 348.vdb_a_dd48d7c11 in /bom-weekly ([#​3631](https://redirect.github.com/jenkinsci/bom/issues/3631)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:flyway-api from 10.18.0-155.ve2f66ff5742e to 10.18.1-161.v8cc01e08c2c0 in /bom-weekly ([#​3633](https://redirect.github.com/jenkinsci/bom/issues/3633)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.6wind.jenkins:lockable-resources from 1310.v99ca\_947ed698 to 1315.v4ea\_8e5159ec8 in /bom-weekly ([#​3632](https://redirect.github.com/jenkinsci/bom/issues/3632)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:docker-java-api from 3.3.6-90.ve7c5c7535ddd to 3.4.0-94.v65ced49b_a\_7d5 in /bom-weekly ([#​3630](https://redirect.github.com/jenkinsci/bom/issues/3630)) [@​dependabot](https://redirect.github.com/dependabot) - Update dependency org.jenkins-ci.main:jenkins-war to v2.478 ([#​3629](https://redirect.github.com/jenkinsci/bom/issues/3629)) [@​renovate](https://redirect.github.com/renovate) - Bump org.jenkins-ci.plugins:credentials from 1371.vfee6b\_095f0a\_3 to 1378.v81ef4269d764 in /bom-weekly ([#​3590](https://redirect.github.com/jenkinsci/bom/issues/3590)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.csanchez.jenkins.plugins:kubernetes from 4288.v1719f9d0c854 to 4290.v93ea\_4b_b\_26a\_61 in /bom-weekly ([#​3625](https://redirect.github.com/jenkinsci/bom/issues/3625)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:support-core from 1504.va\_1d6d0e4d653 to 1511.v3f5cc9b_a_ff55 in /bom-weekly ([#​3624](https://redirect.github.com/jenkinsci/bom/issues/3624)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:plugin from 4.87 to 4.88 in /sample-plugin ([#​3623](https://redirect.github.com/jenkinsci/bom/issues/3623)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci:jenkins from 1.122 to 1.123 in /bom-weekly ([#​3622](https://redirect.github.com/jenkinsci/bom/issues/3622)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:database from 247.v244b_d85f086d to 266.v1d03c767934e in /bom-weekly ([#​3615](https://redirect.github.com/jenkinsci/bom/issues/3615)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:markdown-formatter from 220.v1a\_262cd9f77f to 225.v859f46dea\_3b\_5 in /bom-weekly ([#​3616](https://redirect.github.com/jenkinsci/bom/issues/3616)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:warnings-ng from 11.5.0 to 11.7.0 in /bom-weekly ([#​3609](https://redirect.github.com/jenkinsci/bom/issues/3609)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:plugin-util-api from 4.1.0 to 5.1.0 in /bom-weekly ([#​3610](https://redirect.github.com/jenkinsci/bom/issues/3610)) [@​dependabot](https://redirect.github.com/dependabot) - Bump io.jenkins.plugins:analysis-model-api from 12.4.0 to 12.7.0 in /bom-weekly ([#​3611](https://redirect.github.com/jenkinsci/bom/issues/3611)) [@​dependabot](https://redirect.github.com/dependabot) - Bump org.jenkins-ci.plugins:oic-auth from 4.350.v347c3b\_8b\_9d95 to 4.354.v321ce67a\_1de8 in /bom-weekly ([#​3612](https://redirect.github.com/jenkinsci/bom/issues/3612)) [@​dependabot](https://redirect.github.com/dependabot)

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.

MarkEWaite commented 1 month ago

The credentials plugin now throws an exception from a method that previously did not throw an exception. The tests need to be adapted to that change. The change looks like this:

diff --git a/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java b/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java
index 9a2ce882..34aed3d9 100644
--- a/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java
+++ b/integrations/src/test/java/io/jenkins/plugins/casc/CredentialsTest.java
@@ -37,7 +37,7 @@ public class CredentialsTest {

     @ConfiguredWithCode("GlobalCredentials.yml")
     @Test
-    public void testGlobalScopedCredentials() {
+    public void testGlobalScopedCredentials() throws Exception {
         List<StandardUsernamePasswordCredentials> creds = CredentialsProvider.lookupCredentials(
                 StandardUsernamePasswordCredentials.class, Jenkins.getInstanceOrNull(), null, Collections.emptyList());
         assertThat(creds.size(), is(1));
@@ -60,7 +60,7 @@ public class CredentialsTest {

     @ConfiguredWithCode("CredentialsWithDomain.yml")
     @Test
-    public void testDomainScopedCredentials() {
+    public void testDomainScopedCredentials() throws Exception {
         List<StandardUsernamePasswordCredentials> creds = CredentialsProvider.lookupCredentials(
                 StandardUsernamePasswordCredentials.class, Jenkins.getInstanceOrNull(), null, Collections.emptyList());
         assertThat(creds.size(), is(1));
@@ -149,7 +149,7 @@ public class CredentialsTest {

     @Test
     @Issue("SECURITY-1404")
-    public void checkUsernamePasswordIsSecret() {
+    public void checkUsernamePasswordIsSecret() throws Exception {
         Attribute a = getFromDatabound(UsernamePasswordCredentialsImpl.class, "password");
         assertTrue(
                 "Attribute 'password' should be secret",