feat(java): Require Jenkins core 2.492.3 and Java 17#153
Conversation
fd15bbe to
0bd4f5f
Compare
0bd4f5f to
dbfe040
Compare
dbfe040 to
70051d7
Compare
|
The check failure is due to the maven build still using jdk11. 🤷 |
…ps://github.com/gounthar/log-parser-plugin into plugin-modernizer/upgradenextmajorparentversion
850d572 to
d2ca872
Compare
…ps://github.com/gounthar/log-parser-plugin into plugin-modernizer/upgradenextmajorparentversion
|
@gounthar could rebase your changes to latest thanks |
2ecc5a4 to
f4b0947
Compare
|
All the check failures seem to be related to them still running with Java 11. I encountered a similar issue with another plugin recently and had to reconfigure the security scan. 🤷 |
|
the build is actually failing, like the orther PRs too with this error: Seems an issue with org.jenkins-ci.plugins:plugin v5, see #164 |
…ps://github.com/gounthar/log-parser-plugin into plugin-modernizer/upgradenextmajorparentversion
|
ok, seems Github Runner issue, will merge it and try to resolve it later |
|
Thanks a lot. |
|
had to update the maven wrapper, Release 2.5.0: https://github.com/jenkinsci/log-parser-plugin/releases/tag/v2.5.0 |
|
Great, thanks. 🤗 |
Hello
log-parserdevelopers! 👋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.492 and Java 17
io.jenkins.tools.pluginmodernizer.UpgradeNextMajorParentVersion
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.
Removing
developersTag frompom.xmlJenkins no longer requires the
developerstag inpom.xml, as thedeveloperssection was traditionally used to list individuals responsible for the plugin.Instead, Jenkins now uses the Repository Permission Updater (RPU) to manage permissions and developer information.
Benefits of Removing
developersTag:pom.xml, resulting in a cleaner and more maintainable file.Removing the
developerstag aligns with modern Jenkins infrastructure standards and prevents outdated or redundant developer information from being included in plugin metadata.JEP-227: Replace Acegi Security with Spring Security
Migrating Jenkins plugin code from Acegi Security to Spring Security is important for several reasons:
By migrating to Spring Security, plugin developers ensure their code remains compatible with current Jenkins versions, benefit from modern security features, and contribute to a more secure and maintainable Jenkins ecosystem.
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!