Is it possible for a log to be generated that lists which Jenkins Plugins were active during a build?

17 views
Skip to first unread message

Robert Kruck

unread,
May 11, 2017, 12:14:58 PM5/11/17
to Jenkins Users
Is there a Jenkins Plugin that can create a log that lists which Jenkins Plugins were active during a build?

This would make it possible for our team to detect which Jenkins Plugins are not being used, and could therefore be safely deleted.

Also, if the Jenkins plugins active during a build done on a Live (i.e. Production) Master Server could be recorded, this would be very helpful in setting up the correct set of Jenkins plugins to be installed and tested in a Test Master Server

Creating a  list of Jenkins Plugins used in a build would be difficult, since the program would have to be able to detect the dependencies (and recursive dependencies) for each Jenkins Plugins that was active in a build, as your build proceeded from one Jenkins job to another.


Mark Waite

unread,
May 11, 2017, 4:06:04 PM5/11/17
to Jenkins Users

I don't think the list of plugins used by a build will really satisfy your request. There are very useful plugins which are not used by any build.

The thin backup plugin and the configuration slicing plugin are two plugins which are examples of plugins that are likely not referenced in a job, yet are quite useful in a Jenkins server.

My preference has been to copy the names of the hpi and jpi files in the plugins directory and use them as the definition of the relevant plugins.  A plugin which is not executed is quite low risk, while missing a plugin that you need can cause many problems.

Mark Waite


--
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/4f1a878a-f704-41d8-940d-ce6dd6ce3525%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages