Skip to content

Commit

Permalink
Pin snakeyaml-api 1.33 for Jenkins 2.387.3 (#2466)
Browse files Browse the repository at this point in the history
* Pin snakeyaml-api 1.33 for Jenkins 2.387.3
* Pin configuration as code 1670 for Jenkins 2.387.3

This pinning of the plugin version is being done to pass the 2.387.3
tests for the blue ocean plugin and the kubernetes plugin.  I think
that is better than excluding the failing tests, since the failing tests
would be excluded on all versions, not just one version.

This is atypical, since the snakeyaml 2.2 plugin supports Jenkins 2.387.3,
but other plugins that run on 2.387.3 do not support snakeyaml 2.2.

The blue ocean plugin version 1.27.5.1 (most recent release supported
with Jenkins 2.387.3) does not support snakeyaml plugin 2.2 based on
https://issues.jenkins.io/browse/JENKINS-71966

The kubernetes plugin version 4007.v633279962016 (most recent
release supported with Jenkins 2.387.3) does not seem to
support snakeyaml plugin 2.2 based on the test results from
https://github.com/jenkinsci/bom/pull/2464/checks?check_run_id=16489432297
  • Loading branch information
MarkEWaite authored Sep 5, 2023
1 parent 2ad8f9e commit 57f4104
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bom-2.387.x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<packaging>pom</packaging>
<properties>
<blueocean-plugin.version>1.27.5.1</blueocean-plugin.version>
<configuration-as-code-plugin.version>1670.v564dc8b_982d0</configuration-as-code-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
Expand All @@ -20,6 +21,11 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.jenkins</groupId>
<artifactId>configuration-as-code</artifactId>
<version>${configuration-as-code-plugin.version}</version>
</dependency>
<dependency>
<groupId>io.jenkins.blueocean</groupId>
<artifactId>blueocean-bitbucket-pipeline</artifactId>
Expand Down Expand Up @@ -116,6 +122,16 @@
<artifactId>jenkins-design-language</artifactId>
<version>${blueocean-plugin.version}</version>
</dependency>
<dependency>
<groupId>io.jenkins.configuration-as-code</groupId>
<artifactId>test-harness</artifactId>
<version>${configuration-as-code-plugin.version}</version>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>snakeyaml-api</artifactId>
<version>1.33-95.va_b_a_e3e47b_fa_4</version>
</dependency>
<dependency>
<groupId>org.csanchez.jenkins.plugins</groupId>
<artifactId>kubernetes</artifactId>
Expand Down

0 comments on commit 57f4104

Please sign in to comment.