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-71772] Use authorize-project plugin as a test dependency #325

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Aug 7, 2023

[JENKINS-71772] Use authorize-project plugin as a test dependency

JENKINS-71772 notes that a5f2767 inadvertently changed the authorize-project plugin from a test dependency to a runtime dependency. The code compiles correctly without the runtime dependency and the tests pass on my Linux computer with Java 11.

jenkinsci/bom#2340 added authorize-project plugin to the plugin bill of materials because I didn't detect that the new dependency was not needed at runtime.

Thanks to James Holderness for reporting the issue.

Testing done

Confirmed that compilation succeeds and automated tests pass with the authorize-project plugin dependency switched back to a test dependency instead of a runtime dependency.

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

https://issues.jenkins.io/browse/JENKINS-71772 notes that
jenkinsci@a5f2767
inadvertently changed the authorize-project plugin from a test dependency
to a runtime dependency.  The code compiles correctly without the runtime
dependency and the tests pass on my Linux computer with Java 11.

jenkinsci/bom#2340 added authorize-project plugin
to the plugin bill of materials because I didn't detect that the new
dependency was not needed at runtime.

Thanks to James Holderness for reporting the issue.
@mawinter69 mawinter69 merged commit 3a6a169 into jenkinsci:master Aug 7, 2023
@MarkEWaite MarkEWaite changed the title [JENKINS-71772] Remove runtime dependency on authorize-project plugin [JENKINS-71772] Use authorize-project plugin as a test dependency Aug 7, 2023
@MarkEWaite MarkEWaite deleted the make-authorize-project-a-test-dependency branch August 7, 2023 15:21
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