Development Quick Start Guide - Programisci/jenkins-control-plugin GitHub Wiki

Environment preparation

In order to start you will need:

Plugin development (without maven)

  1. Checkout code from plugin repository using Idea
  2. Project should be already configured what could be missing is (all in project structure)
  • Project SDK for plugin probably needs changing. Choose one you've configured during environment preparation
  • In libraries panel, add jars for all libraries which are missing
  1. Create Run configuration of type Plugin
  • as JRE set IntelliJ IDEA
  • Use classpath of module jenkins-control-plugin

Once this is all done, you should be able to run the plugin.

Building plugin

  1. Update information in src/main/resources/META-INF/plugin.xml
  2. In menu select Build/Prepare plugin for deployment
  3. Balloon popup should appear with information where zip archive for distribution was saved.