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

buildPlugin(): Allow passing Java level as a configuration argument #79

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

oleg-nenashev
Copy link
Contributor

While testing configuration support patches from @olivergondza in #76 , I tried to run the test automation against a plugin which still targets Java 7: jenkinsci/label-verifier-plugin#4 . It failed, because the new Jenkins core version uses Bytecode Compatibility Transformer which is no longer compatible with Java 7.

Other static checkers may fail in various way as well. In order to prevent it, I propose to add an escape hatch to the library so that a custom java.level can be passed alongside a custom Jenkins version.

Copy link
Contributor

@batmat batmat left a comment

Choose a reason for hiding this comment

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

LGTM

@batmat
Copy link
Contributor

batmat commented Dec 5, 2018

Just added #80 in complement FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants