Does the Jenkins Manage Plugins page display a warning if a plugin has a missing dependency?

46 views
Skip to first unread message

Robert Kruck

unread,
Jun 3, 2016, 11:09:43 AM6/3/16
to Jenkins Users
Does the Jenkins "Manage Plugins" page display a warning, if a Jenkins Plugin has a missing dependency?

Example: If Jenkins Plugin "A" requires Jenkins Plugin "B" as a dependency, and I installed Jenkins Plugin "A"  only, would a warning about the missing Jenkins Plugin "B" appear in the Jenkins "Manage Plugins" page?

I have researched this issue for some time on the internet - at present it appears that some Jenkins plugins have this sort of automated dependency checking, but others don't.

Please advise; I was thinking of making a spreadsheet to show the dependencies of the Jenkins Plugins we currently use - but if Jenkins has automated dependency checking for all its Plugins, such a spreadsheet would obviously be a waste of time. 

Baptiste Mathus

unread,
Jun 4, 2016, 9:35:20 AM6/4/16
to jenkins...@googlegroups.com
Using the plugin manager, asking for a plugin installation will trigger the installation of its (plugin) dependencies.

If it does not, then it's probably a bug in that plugin, and you want to file it.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d8b2f1ad-0cfc-4197-9876-2c534b46807b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

geoffroy...@gmail.com

unread,
Jun 5, 2016, 7:07:23 AM6/5/16
to Jenkins Users, m...@batmat.net
Please note that if you have installed plugins manually by downloading the .jpi file into the $JENKINS_HOME/plugins folder before starting jenkins, then dependency resolution is not automatically performed at jenkins startup.
So if you install plugin A, you must also install plugin B or else jenkins might fail at startup

Not sure how it works if you manually upload plugin A, and it requires plugin B...

Stephen Connolly

unread,
Jun 6, 2016, 4:59:41 AM6/6/16
to jenkins...@googlegroups.com, m...@batmat.net
Manual upload completely bypasses the dependency handling.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b256faa8-c990-4aff-87a1-6c2a566c019f%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone

Slide

unread,
Jun 6, 2016, 9:48:31 AM6/6/16
to jenkins...@googlegroups.com, m...@batmat.net
Not anymore, in very recent versions, the dependencies will be downloaded and installed see https://github.com/jenkinsci/jenkins/pull/2239

Reply all
Reply to author
Forward
0 new messages