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-71803] Blue Ocean tests fail on Java 21 with Mockito errors #2485

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

basil
Copy link
Member

@basil basil commented Aug 24, 2023

See JENKINS-71803. Fixes the issue by using the Mockito version from the plugin parent POM (version 5, which supports Java 21) rather than defining an outdated version in this repository.

@basil basil requested a review from a team as a code owner August 24, 2023 15:59
@@ -97,6 +97,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
Copy link
Member Author

Choose a reason for hiding this comment

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

Removes the following unnecessary files from the JPI:

  • byte-buddy-1.12.13.jar
  • byte-buddy-agent-1.12.13.jar
  • mockito-core-4.7.0.jar
  • objenesis-3.2.jar

@basil
Copy link
Member Author

basil commented Aug 24, 2023

@basil
Copy link
Member Author

basil commented Aug 24, 2023

A merge/release would assist in the resolution of jenkinsci/bom#2381

@olamy olamy merged commit e1d43cc into jenkinsci:master Aug 25, 2023
11 checks passed
@basil basil deleted the mockito branch August 28, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants