jenkinsci / cobertura-plugin

Jenkins cobertura plugin
https://plugins.jenkins.io/cobertura/
MIT License
109 stars 133 forks source link

Test with Java 21 #214

Closed MarkEWaite closed 10 months ago

MarkEWaite commented 11 months ago

Test with Java 21

Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October 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 low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.

Includes the following pull request:

Supersedes the following pull requests:

Testing done

Confirmed tests pass with Java 21.

Submitter checklist

jeffpearce commented 10 months ago

Hi @MarkEWaite. The changes look good to me. Is this ready to merge? The work "test" in the title made me wonder, so wanted to verify.

MarkEWaite commented 10 months ago

Ready to merge. Thanks for asking