- Clone the plugin and enter the directory:
git clone [email protected]:jenkinsci/google-oauth-plugin.git cd google-oauth-plugin
- Checkout the branch that you would like to build from:
git checkout <branch name>
- Build the plugin into a .hpi plugin file:
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.