Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 771 Bytes

README.MD

File metadata and controls

11 lines (9 loc) · 771 Bytes

Introduction

A semi automated hack to get updated plugin list. Here's how the helper works:

  1. Make sure you have groovy installed, which is available as a package on most linux distros, or via the download site.
  2. Login in the jenkins you want to replicate.
  3. Post fix the jenkins url with /pluginManager/api/json?depth=1&tree=plugins[shortName,version] in your browser.
  4. Copy the output to a new file called out.json in the helpers dir.
  5. Run ./writePluginFileFromExistingJenkins.groovy to construct a plugins.txt file to be used with the OpenShift Jenkins S2I image
  6. Delete out.json
  7. Check in the new plugins.txt