Closed Stromweld closed 5 years ago
This should fix issues #694 #653 #534 #631 #503 #494
@josh-barker thoughts on this change since you did all the last work here?
@josh-barker when you have some time could you look at these failing tests? Run log looks like they worked. The apache-httpcomponents plugin one I'm not sure why it didn't install the specific version, even though the plugins specifying version or source installed correct version.
Hi @stromweld, are you sure the correct version of apache-httpcomponents
is being installed?
I spun it up and it had a newer version, not the version specified.
that was the result I got too, but if you look at the other tests that are specifying version or url and those specific versions are getting installed correctly and passing their tests. Not sure why only this one doesn't.
@josh-barker I merged in your branch #708 thanks for the fix
@tas50 this should be ready for final review.
Just a few minor things and this is ready to go out.
thanks for the merge
update plugin resource to work with newer versions of Jenkins which f…ixes dependencies and removes need for additional plugin method
Signed-off-by: Corey Hemminger hemminger@hotmail.com
Description
Makes plugin lwrp useful. For latest version of plugins it'll install plugin and all dependencies via the jenkings-cli.jar install-plugin command. Newer versions of Jenkins this works great. Removes the need to brute force dependency install that would loop through all dependencies and dependencies of dependencies even if they have repeating depencies and differing versions of dependencies.
When specifying a source or specific version dependencies are not resolved and specific plugin is installed similar to old functionality based on url or file source on node.
Check List