-
Notifications
You must be signed in to change notification settings - Fork 714
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore jsr-305 dependency #2492
Conversation
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.
I've confirmed this works with interactive testing in my lts-with-plugins container image.
Tests that I ran include:
- Start Jenkins without it and confirm the message is displayed in the log
- Explore Jenkins to see if there were obvious failures that a user would see (none detected)
- Install into the lts-with-plugins plugins.txt file
- Start Jenkins and confirm the message is not displayed
- Display the configuration as code
- Reload the configuration as code
I was trying to add my proposed extra comment but I think it is wrong to delay the delivery of this fix. I'll add that comment later when I've investigated further. |
Notes that I put into my test commit included: Fix init warning message by restoring JSR-305 dependency#2490 removed the JSR-305 dependency because the code compiles and passes tests without that dependency. However, a new startup failure message is reported without that dependency. Retain the dependency for now until more investigation can identify the other changes needed to remove that dependency. Thanks to @kutzi for reporting it promptly! #2490 (comment) is the report. Fixes #2491 |
History repeats itself one year later, almost to the day: #2238 |
Yes, my mistake that I didn't perform the basic interactive test of loading it into my own configuration and watching the log file. I'll submit a pull request to add a comment that warns others away from making the same mistake that I made. |
jenkinsci#2491 should be prevented from recurring in the future by this comment. jenkinsci#2492 is the pull request that restored the dependency that I mistakenly removed in jenkinsci#2490
Untested but I expect it to fix #2491
Your checklist for this pull request
馃毃 Please review the guidelines for contributing to this repository.