-
Notifications
You must be signed in to change notification settings - Fork 53
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-57935] - Always poll the Update Center for plugin Group IDs when building WARs with plugins #156
[JENKINS-57935] - Always poll the Update Center for plugin Group IDs when building WARs with plugins #156
Conversation
…when buildin WARs with plugins
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.
Thanks a lot for fixing this.
I think we should start adding ITs systematically as we discovered some time ago.
Please can we also add an ITs showing this was failing? Thanks!
@batmat creation of the integration test requires a Custom WAR to be produced and included into the test. So far we do not have any official distributions for such custom WARs in the Jenkins community, and it would be a significant task to create one. Although I agree with having integration tests, I suggest detaching it to a separate task |
On-demand plugin installation tests are fun |
Uh oh. Will investigate. This is exactly what I was fixing (and it worked on my machine)
|
Actually build a custom Docker image during the build
Now it somehow starts with old plugins, CWP does not trace it on its own (known issue)
|
WithPlugin tests are killing me
|
In the test...
Something went wrong, not sure what |
Any ideas why it could happen @raul-arabaolaza . It there any code which may downgrade a version from the bundle? |
Closing in favor of #169 |
Revert #156 as it makes PCT sensitive to UC; instead pass groupId: in -overridenPlugins
See https://issues.jenkins-ci.org/browse/JENKINS-57935 . Before the fix PCT was not trying to resolve Group IDs from the update center when there were bundled plugins. It is critical for some optional dependencies which are not usually bundled.
The change should cause no regressions, because groupIDs from WAR will be still a priority