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

Test with Java 21 #117

Merged
merged 8 commits into from
Nov 20, 2023
Merged

Conversation

MarkEWaite
Copy link
Contributor

Test with Java 21

Java 21 was released Sep 19, 2023. Full support for Java 21 was announced with 2.426.1 in mid Novemeber. We 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.

  • Test with Java 21
  • Use parent pom 4.75

Testing done

Confirmed that automated tests pass from my desktop running Red Hat Enterprise Linux 8.

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

dependabot bot and others added 4 commits September 4, 2023 20:43
Bumps [io.github.bonigarcia:webdrivermanager](https://github.com/bonigarcia/webdrivermanager) from 5.4.0 to 5.5.3.
- [Release notes](https://github.com/bonigarcia/webdrivermanager/releases)
- [Changelog](https://github.com/bonigarcia/webdrivermanager/blob/master/CHANGELOG.md)
- [Commits](bonigarcia/webdrivermanager@webdrivermanager-5.4.0...webdrivermanager-5.5.3)

---
updated-dependencies:
- dependency-name: io.github.bonigarcia:webdrivermanager
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [org.seleniumhq.selenium:selenium-java](https://github.com/SeleniumHQ/selenium) from 4.10.0 to 4.14.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Java 21 was released Sep 19, 2023. We want to announce full support for
Java 21 in November 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 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.
@MarkEWaite MarkEWaite requested a review from a team as a code owner November 20, 2023 19:07
Rely on interactive testing
…a-4.14.1' and 'dependabot/maven/io.github.bonigarcia-webdrivermanager-5.5.3' into test-with-java-21
MarkEWaite added a commit to MarkEWaite/repository-permissions-updater that referenced this pull request Nov 20, 2023
I want to merge pull request
jenkinsci/git-parameter-plugin#117 to add
testing of Java 21.

I use the plugin in my installation, so there is some motivation to
maintain it.
@MarkEWaite MarkEWaite merged commit b71171e into jenkinsci:master Nov 20, 2023
15 checks passed
@MarkEWaite MarkEWaite deleted the test-with-java-21 branch November 20, 2023 23:03
@MarkEWaite MarkEWaite added the chore Reduces maintenance effort by changes not directly visible to users label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces maintenance effort by changes not directly visible to users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant