-
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-58716] Replace AbstractMultiParentHook.getParentUrl with a processed pomData.connectionUrl #254
[JENKINS-58716] Replace AbstractMultiParentHook.getParentUrl with a processed pomData.connectionUrl #254
Conversation
…rocessed pomData.connectionUrl
The part of this change that removes The part of this change that I have a question about is the part that trims the subdirectories. This certainly works, but I am left wondering why I believe the word @jglick prefers to use to describe such code is "trick." I am wondering whether we have at least considered the alternative: fixing up |
The automatic appending of submodule paths to |
I mean, you can redundantly specify |
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.
The automatic appending of submodule paths to
/project/scm/connection
is baked into Maven and hard to get rid of. I think it dates to Subversion days, whenhttps://svn.mycorp/trunk/some/sub/module/
was in fact a legal thing to check out. It does not work at all for Git, so we have to work around that in PCT.
I see. This is beyond our control in the Jenkins project, so a workaround seems appropriate.
I mean, you can redundantly specify
<scm>
in each child module’spom.xml
to avoid the inheritance, but I would like to avoid that.
Agreed.
Code looks good to me, I am going to perform some tests on full runs using custom war files and local sources to be sure and if nothing happens we are good to go from my side |
I have not found any regression (finally) generated by this change in proprietary wars, and also the PR failure is caused by an infra issue, merging |
Follows up #181 for multimodule repos. For example, jenkinsci/blueocean-plugin#2094 was deployed with
We need to check out dwnusbaum/blueocean-plugin@e72b727 as a result.