-
Notifications
You must be signed in to change notification settings - Fork 135
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
Modernize to latest versions supported by Java 8 #340
Conversation
- Requires Java 11 - Requires Jenkins 2.346.4 - Builds on Java 11 and 17
@scaytrase I think the build may only run with the Jenkinsfile on the target branch(?). Java 11 is required and the included Jenkinsfile configuration is recommended starting with parent version 4.52. |
Jenkinsfile changes require write access, otherwise they wont apply. |
@scaytrase based on offa's comment (thanks!) I've limited the scope of this PR to the latest versions that worked on Java 8 to keep the build green. |
@scaytrase would you be interested in adding additional maintainers for this plugin? |
@sghill I'd like to, since I'm not using Jenkins for many years for now (but still like it). But I have no idea how to grand release permissions to maintainers. I can give only repo permissions here |
@scaytrase I'm happy to help maintain. From Managing plugin permissions it sounds like there are two parts -
My goals for maintenance would be:
For anything major happy to open a PR and leave it open for review/discussion for a week or so. |
I have no permissions even for this one.
I'd be happy if you can drive the whole process of maintenance sharing since I don't really know all the internal kitchen for Jenkisn development. Tag me wherever one need my approve for this, I'll come |
Requested deploy permissions in jenkins-infra/repository-permissions-updater#3481 |
I've given you permissions but rolled back since it says u've already given admin via team mebmership. thanks a lot! |
Thanks @scaytrase! |
Upgrade POM parent and
jenkins.version
to last versions that support Java 8. Builds are enabled for Java 11 and 17.Goal is to keep the build green and follow up with a subsequent PR to modernize to current recommended versions.
This has been done by the OpenRewrite recipes at sghill/rewrite-jenkins.
Testing done
Ran
mvn clean verify
.Submitter checklist
Fixes #337
Fixes #327
Related to #326
Fixes #322