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

Tests fail on Java 21 with Mockito errors #227

Closed
basil opened this issue Aug 11, 2023 · 2 comments
Closed

Tests fail on Java 21 with Mockito errors #227

basil opened this issue Aug 11, 2023 · 2 comments

Comments

@basil
Copy link
Member

basil commented Aug 11, 2023

The following Checks API tests fail on Java 21 with Mockito errors:

  • io.jenkins.plugins.checks.api.ChecksPublisherFactoryTest
  • io.jenkins.plugins.checks.api.NullChecksPublisherTest
  • io.jenkins.plugins.checks.steps.PublishChecksStepTest
  • io.jenkins.plugins.checks.steps.WithChecksStepTest

Similar issues have been observed in other plugins and were resolved by updating the plugin parent POM to 4.68 which has a recent version of Mockito that supports Java 21. Can this plugin be upgraded to a recent version of Mockito and a new version released for BOM/PCT purposes?

@basil
Copy link
Member Author

basil commented Aug 11, 2023

CC @uhafner

@basil
Copy link
Member Author

basil commented Sep 12, 2023

Released in v2.0.1.

@basil basil closed this as completed Sep 12, 2023
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

No branches or pull requests

1 participant