- Clone the plugin and enter the directory:
git clone git@github.com:jenkinsci/google-compute-engine-plugin.git cd google-compute-engine-plugin
- Checkout the branch that you would like to build from:
git checkout <branch name>
- Build the plugin into a .hpi plugin file. When running a build for the first time, run the clean and package maven goals:
Followed by:
mvn clean package
mvn hpi:hpi
- Go to Manage Jenkins then Manage Plugins.
- In the Plugin Manager, click the Advanced tab and then Choose File under the Upload Plugin section.
- Choose the Jenkins plugin file built in Step 3.
- Click the Upload button.