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

Upgrade Mockito; remove PowerMock #206

Merged
merged 1 commit into from
Mar 7, 2023
Merged

Conversation

basil
Copy link
Member

@basil basil commented Nov 16, 2022

PowerMock has been removed from the plugin parent POM and does not work with Java 17, and it does not work with recent versions of Mockito. This PR replaces usage of PowerMock with the latest version of mockito-inline, which supports Java 17. Reviewers are encouraged to review this PR with the Hide Whitespace feature enabled. CC @centic9

@basil
Copy link
Member Author

basil commented Mar 6, 2023

Used my admin powers to replay the build with the Jenkinsfile changes here: https://ci.jenkins.io/job/Plugins/job/jacoco-plugin/job/PR-206/4/

@centic9 centic9 merged commit 6cd38c0 into jenkinsci:master Mar 7, 2023
@centic9
Copy link
Member

centic9 commented Mar 7, 2023

Thanks!

@basil basil deleted the powermock branch March 8, 2023 03:20
@basil
Copy link
Member Author

basil commented Mar 8, 2023

@centic9 Could this please be released? A release would allow the Jenkins core developers to do plugin compatibility testing (PCT) of this plugin on Java 17 in jenkinsci/bom#1828.

@centic9
Copy link
Member

centic9 commented Mar 10, 2023

Sorry, but I need to wait for another release here before I can release these changes. Not sure when exactly it is done.

@centic9
Copy link
Member

centic9 commented Mar 24, 2023

@basil, fyi release 3.3.3 is now available with this change!

@basil
Copy link
Member Author

basil commented Mar 24, 2023

Thank you! I have filed jenkinsci/bom#1889 to add this plugin to our Plugin Compatibility Test (PCT) matrix.

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

Successfully merging this pull request may close these issues.

2 participants