Development Quick Start Guide - Programisci/jenkins-control-plugin GitHub Wiki
Environment preparation
In order to start you will need:
- IntelliJ IDEA (Community edition is fine)
- UI Designer plugin for Idea
- Setup platform SDK according to IntelliJ SDK DevGuide/Setting Up a Development Environment
Plugin development (without maven)
- Checkout code from plugin repository using Idea
- 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
- 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
- Update information in src/main/resources/META-INF/plugin.xml
- In menu select Build/Prepare plugin for deployment
- Balloon popup should appear with information where zip archive for distribution was saved.