Skip to content

feat(java): Require Jenkins core 2.479.3 and Java 17.#82

Closed
gounthar wants to merge 4 commits intojenkinsci:masterfrom
gounthar:plugin-modernizer/upgradenextmajorparentversion
Closed

feat(java): Require Jenkins core 2.479.3 and Java 17.#82
gounthar wants to merge 4 commits intojenkinsci:masterfrom
gounthar:plugin-modernizer/upgradenextmajorparentversion

Conversation

@gounthar
Copy link
Contributor

@gounthar gounthar commented Mar 6, 2025

Hello github-pr-comment-build developers! 👋

This is an automated pull request created by the Jenkins Plugin Modernizer tool. The tool has applied the following recipes to modernize the plugin:

Upgrade to the next major parent version (5.X) requiring Jenkins 2.479 and Java 17

io.jenkins.tools.pluginmodernizer.UpgradeNextMajorParentVersion

Upgrade to the next major parent version (5.X) requiring Jenkins 2.479 and Java 17.

Why Upgrade to Java 17 and Jenkins 2.479.x?

  • Embrace Java 17 LTS Stability: Benefit from long-term support with modern language features that improve development practice and plugin performance.

  • Harness Jenkins 2.479.x Innovations: Stay aligned with the latest features and stability improvements, ensuring smooth integration and future-proofing.

  • Enhance Security: Protect your plugin with up-to-date security fixes from both Java 17 and Jenkins core improvements.

  • Align with the Community: Keep pace with ecosystem shifts towards Java 17, ensuring compatibility and expanding your plugin's user base.

  • Enjoy a Better Developer Experience: Make the most of advanced tooling support and simplified dependency management with Java 17's enhancements.

Summary

By upgrading, you'll be positioning your plugin at the forefront of performance, security, and user satisfaction. We encourage you to explore these updates and provide feedback. Let's continue to build a robust Jenkins ecosystem together!

@gounthar gounthar requested a review from a team as a code owner March 6, 2025 20:40
@gounthar
Copy link
Contributor Author

gounthar commented Mar 6, 2025

Hi @MarkEWaite,

Would you mind replaying this build with the supplied Jenkinsfile? These modifications build successfully on my machine.

Thanks.

bluesliverx pushed a commit to bluesliverx/github-pr-comment-build-plugin that referenced this pull request Mar 6, 2025
Comment on lines +69 to +79
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>4228.v0a_71308d905b_</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

Choose a reason for hiding this comment

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

Replay failed due to this duplication of dependencyManagement section

Suggested change
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>4228.v0a_71308d905b_</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>

bluesliverx added a commit that referenced this pull request Mar 6, 2025
chore(dependencies) Make changes from #82
@bluesliverx
Copy link
Contributor

Closed in favor of #84

@bluesliverx bluesliverx closed this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants