Re: how can I introspect what versions of what plugins are installed?

2012-08-21 Thread cjo
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

Re: how can I introspect what versions of what plugins are installed?

2012-08-21 Thread Stephen Connolly
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

how can I introspect what versions of what plugins are installed?

2012-08-21 Thread Chris Withers
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