- Clone the plugin and enter the directory:
git clone [email protected]:jenkinsci/google-kubernetes-engine-plugin.git cd google-kubernetes-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 compile 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.