Skip to content

Conversation

@jglick
Copy link
Member

@jglick jglick commented Mar 22, 2022

As proposed in #310 (comment), cleaning up some code mostly introduced in #247 or which at least could have been simplified at that time. Creating a DefaultProjectBuildingRequest based on the session.projectBuildingRequest makes sense if you actually need to override some property. Otherwise it just copies properties from the original. And that means ${localRepository} and ${project.remoteArtifactRepositories} should not need to be injected; pick those things up from the session.

@jglick jglick requested a review from basil March 22, 2022 15:44
@basil basil merged commit edfb544 into jenkinsci:master Mar 22, 2022
@jglick jglick deleted the DefaultProjectBuildingRequest branch March 22, 2022 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants