crash
crash

Reputation: 670

How to get plugins that depends on a certain plugin in Jenkins?

various Jenkins modules were deprecated the past few weeks. While I could uninstall most of them I'm unable to remove multiple-scms plugin, since some other plugin(s) seem to require it.

I was unable get a list of plugins that require multiple-scms through the plugin page search.

So is there any way to get a list of plugins that have a dependency on a certain plugin in Jenkins? Maybe with the help of a Groovy script?

Thanks.

Upvotes: 0

Views: 557

Answers (2)

Dmitriy Tarasevich
Dmitriy Tarasevich

Reputation: 1242

Take a look at the picture dependencies

or use the link https://plugins.jenkins.io/multiple-scms/#dependencies

Upvotes: 1

crash
crash

Reputation: 670

Via script console:

println Jenkins.instance.pluginManager.getPlugin("multiple-scms").getDependents()

Upvotes: 1

Related Questions