-
Notifications
You must be signed in to change notification settings - Fork 136
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
update parent pom, use plugin bom, remove powermock #279
update parent pom, use plugin bom, remove powermock #279
Conversation
linking jenkinsci/plugin-pom#441 so that this PR is discoverable for anyone else who is struggling with powermock to mockito mockStatic migration 😅 |
Related: jenkinsci/plugin-pom#442 This PR is of particular importance for Java 11+ compatibility. |
powermock tests written using mockito's mockStatic added configuration-as-code test-harness update jenkins.version
@scaytrase resolved merge conflict :) |
This PR should take care of most dependabot PRs 😄 |
<relativePath /> | ||
</parent> | ||
<packaging>hpi</packaging> | ||
<properties> | ||
<revision>1.25</revision> | ||
<changelist>-SNAPSHOT</changelist> | ||
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. --> | ||
<jenkins.version>2.60.3</jenkins.version> | ||
<jenkins.version>2.303.1</jenkins.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note for myself. This is an LTE relase 5 months old
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can drop it down a little with a matching plugin bom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
jenkinsci/configuration-as-code-plugin#1815 was the reason for this PR to fix plugin loading conflict |
thanks @jetersen ! |
@scaytrase your welcome! |
Updated to latest plugin parent pom.
Added plugin bom to help manage plugin versions for other plugins. You can read more about plugin bom here: https://github.com/jenkinsci/bom
Updated jenkins.version according to https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/
Added plugin bom to make it easier to manage the plugin and the dependencies.
Updated JCasC test to use the JCasC test-harness.
replaced all powermock tests with mockito's mockStatic