I was running a small groovy script to do this, and then used the trigger
on start plugin to run the job when Jenkins is restarted, also gives you
the enabled and pinned states so that you can see if these have changed.
Script:
import hudson.model.*
println("plugin name, version, active, enable
The PluginManager will tell you what plugin versions are installed and
enabled, you will have to iterate it yourself.
If not running within Jenkins, i.e. doing this as an external process, you
need to scan $JENKINS_HOME/plugins for the exploded directories and parse
the version out of the META-INF
Hi All,
Where are the versions of the plugins currently installed stored?
They don't appear to be recorded anywhere in the config files..
I'm looking to have something "watch" them and record when they
change... (a bit like the job config history plugin)
cheers,
Chris
--
Simplistix - Conten