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

chore: Support builds on JDK 17+ #240

Merged
merged 1 commit into from
Feb 16, 2025
Merged

Conversation

rahulsom
Copy link

Tested with JDK 17 and 21.

The version of CodeNarc present did not work with JDK 17+. That also prevented this plugin from being used in composite builds that required JDK 17+.

This change allows using JDK 17 for the build.

Some new rules were being violated, and have been added to exclusions.

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@rahulsom rahulsom marked this pull request as ready for review February 16, 2025 19:06
Tested with JDK 17 and 21.

The version of CodeNarc present did not work with JDK 17+. That also prevented this plugin from being used in composite builds that required JDK 17+.

This change allows using JDK 17 for the build.

Some new rules were being violated, and have been added to exclusions.
@sghill sghill enabled auto-merge (rebase) February 16, 2025 20:28
@sghill sghill merged commit 22a2fb5 into jenkinsci:main Feb 16, 2025
14 checks passed
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