Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellaneous dependency cleanup #2491

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Miscellaneous dependency cleanup #2491

merged 2 commits into from
Sep 8, 2023

Conversation

basil
Copy link
Member

@basil basil commented Sep 6, 2023

No description provided.

@basil basil added skip-changelog Ignored by release-drafter (Usually CI or pipeline changes) developer labels Sep 6, 2023
@basil basil requested a review from a team as a code owner September 6, 2023 00:48
@@ -110,7 +110,6 @@
<dependency>
<groupId>org.jenkinsci.plugins</groupId>
<artifactId>pipeline-model-definition</artifactId>
<version>2.2125.vddb_a_44a_d605e</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Managed in BOM so does not need to be declared explicitly.

@@ -221,7 +220,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Managed in plugin parent POM so does not need to be declared explicitly.

@@ -141,7 +141,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Managed in plugin parent POM so does not need to be declared explicitly.

@@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.72</version>
<version>4.73</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Latest at the time of this writing.

@@ -34,6 +34,7 @@
-->
<jenkins.version>2.401.3</jenkins.version>
<javadoc.exec.goal>javadoc-no-fork</javadoc.exec.goal> <!-- stop initialize phase plugins executing twice -->
<byte-buddy.version>1.14.7</byte-buddy.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Factoring into a property for ease of Dependabot upgrades.

@@ -218,7 +219,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.401.x</artifactId>
<version>2329.v078520e55c19</version>
<version>2401.v7a_d68f8d0b_09</version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Latest at the time of this writing.

Comment on lines -352 to -356
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>cloudbees-bitbucket-branch-source</artifactId>
<version>2.9.11</version>
</dependency>
Copy link
Member Author

Choose a reason for hiding this comment

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

Managed in BOM so does not need to be managed here.

@basil basil removed the developer label Sep 6, 2023
@basil
Copy link
Member Author

basil commented Sep 7, 2023

@@ -70,7 +73,7 @@ public void restart_stage() throws Exception {
+ "/runs/1/nodes/" + res.get( "id" ) + "/restart",
restartMap);

assertEquals( QueuedBlueRun.class.getName(), restartResult.get( "_class" ) );
assertThat(restartResult.get("_class"), anyOf(is(QueuedBlueRun.class.getName()), is(PipelineRunImpl.class.getName())));
Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated to this PR, but most of my PR builds were tripping this assertion saying that the class name was PipelineRunImpl. Since this is queuing a build that eventually is scheduled, this test was inherently flaky, and the lines below explicitly deal with the case where the build has been taken off the queue and scheduled, so we do the same here. This made the test suite stable enough for me to eventually get a passing CI run.

Copy link
Member

Choose a reason for hiding this comment

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

thanks for fixing this

@olamy olamy merged commit 2d9003b into jenkinsci:master Sep 8, 2023
11 checks passed
@basil
Copy link
Member Author

basil commented Sep 8, 2023

Currently blocking jenkinsci/bom#2381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Ignored by release-drafter (Usually CI or pipeline changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants