Skip to content

Conversation

@raul-arabaolaza
Copy link
Contributor

JENKINS-45157

Same approach as used in #34

@reviewbybees specially @varyvol and @kwhetstone

@kwhetstone
Copy link
Contributor

🐝 Let's wait to merge #34 and then we'll merge this one. This looks fine from an implementation perspective.

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems plugin-compat-tester is just going from bad to worse with special-case hooks. I hope jenkinsci/maven-hpi-plugin#66 could provide a more maintainable solution going forward.

PomData pomData = (PomData)info.get("pomData");
MavenCoordinates parent = pomData.parent;
MavenCoordinates coreCoordinates = (MavenCoordinates)info.get("coreCoordinates");
boolean isDeclarartivePipeline = parent.matches("org.jenkinsci.plugins", "pipeline-model-parent");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo.

@raul-arabaolaza
Copy link
Contributor Author

raul-arabaolaza commented Jun 28, 2017 via email

@jglick
Copy link
Member

jglick commented Jun 28, 2017

Right, my hope is that we will able to run something along the lines of

git clone https://github.com/jenkinsci/pipeline-model-definition-plugin
mvn -f pipeline-model-definition-plugin -DoverrideVersions=org.jenkins-ci.main:jenkins-core:2.60.1,org.jenkins-ci.main:jenkins-war:2.60.1,org.jenkins-ci.plugins:branch-api:2.0,… -DuseUpperBounds=true clean install

(to run all tests in all modules in that reactor using updated dependencies) but the concept is not yet proven.

@raul-arabaolaza
Copy link
Contributor Author

@jglick That sounds cool given that is able to deal with different types of dependencies (optional, transitive) , scopes and classifiers. Also the list of dependencies can be large and generate it manually can be very error prone. So I would suggest implementing a mechanism similar to GIT_ASKPASS to get the override list, this way we can implement a way to take the last versions deployed in a maven repo or the versions deployed into a running jenkins instance

@raul-arabaolaza raul-arabaolaza deleted the JENKINS-45157 branch June 30, 2017 16:36
@jglick
Copy link
Member

jglick commented Jun 30, 2017

Why closed?

@raul-arabaolaza
Copy link
Contributor Author

@jglick Superseeded by #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants