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

[JENKINS-73253] Build and test with Java 21 #3953

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Jun 4, 2024

Build and test with Java 21

Jenkins will require Java 17 or newer in weekly releases beginning June 18, 2024. Jenkins has supported Java 21 for a long time. I've been using Java 21 for my local development work without any issue.

The upgrade to Spring Framework 6 will require at least Java 17. Let's move to Java 21 to prepare for the future.

JENKINS-67909 is the Jira epic that tracks the Java 11 end of life. JENKINS-73253 is the issue for this pull request

Reviewer checklist

Edit tasklist title
Beta Give feedback Tasklist Reviewer checklist, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Check that the $pluginId Developers team has Admin permissions while granting the access.
    Options
  2. In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
    Options
  3. If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.
    Options
Loading

There are IRC Bot commands for it.

Jenkins will require Java 17 or newer in weekly releases beginning June
18, 2024.  Jenkins has supported Java 21 for a long time.  I've been
using Java 21 for my local development work without any issue.

The upgrade to Spring Framework 6 will require at least Java 17.
Let's move to Java 21 to prepare for the future.
@MarkEWaite MarkEWaite requested a review from a team as a code owner June 4, 2024 18:56
@MarkEWaite MarkEWaite changed the title Build and test with Java 21 [JENKINS-73253] Build and test with Java 21 Jun 4, 2024
@timja timja merged commit 2393eab into jenkins-infra:master Jun 4, 2024
3 checks passed
@MarkEWaite MarkEWaite deleted the use-java-21-in-ci branch June 4, 2024 22:50
@dduportal
Copy link
Contributor

For info, this PR broke the deployment in trusted.ci as there are no maven-21 agent template (yet).

Opened jenkins-infra/helpdesk#4122 to track this.

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.

None yet

3 participants