A semi automated hack to get updated plugin list. Here's how the helper works:
- Make sure you have groovy installed, which is available as a package on most linux distros, or via the download site.
- Login in the jenkins you want to replicate.
- Post fix the jenkins url with
/pluginManager/api/json?depth=1&tree=plugins[shortName,version]in your browser. - Copy the output to a new file called
out.jsonin thehelpersdir. - Run
./writePluginFileFromExistingJenkins.groovyto construct aplugins.txtfile to be used with the OpenShift Jenkins S2I image - Delete
out.json - Check in the new
plugins.txt