Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Test with Java 21 #802

Merged
merged 4 commits into from
Nov 2, 2023
Merged

Test with Java 21 #802

merged 4 commits into from
Nov 2, 2023

Conversation

gounthar
Copy link
Contributor

Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 and would like the most used plugins to be compiled and tested with Java 21.

The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17 and Java 21 because we believe that the risk of a regression that only affects Java 11 is shallow. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.

Testing done

Confirmed tests pass with Java 21 on Linux.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #802 (70a1346) into master (2671fa5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #802   +/-   ##
=========================================
  Coverage     72.86%   72.86%           
  Complexity     1032     1032           
=========================================
  Files            88       88           
  Lines          3825     3825           
  Branches        440      440           
=========================================
  Hits           2787     2787           
  Misses          892      892           
  Partials        146      146           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@uhafner uhafner added the internal Internal changes without user or API impact label Nov 2, 2023
Copy link
Member

@uhafner uhafner left a comment

Choose a reason for hiding this comment

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

Please note that this plugin is deprecated.

@uhafner uhafner merged commit 1027c37 into jenkinsci:master Nov 2, 2023
25 of 26 checks passed
@gounthar gounthar deleted the jdk21 branch November 2, 2023 17:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
internal Internal changes without user or API impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants