Use these instructions to build and install the Google Analyze Code Security plugin from source files.
- Clone the plugin and enter the directory:
git clone [email protected]:jenkinsci/google-analyze-code-security-plugin.git cd google-analyze-code-security-plugin
- Check out the branch that you want to build from:
git checkout <branch name>
- Build the plugin into a .hpi plugin file. When running a build for the first time, build the package using the Maven clean package command. Run goals:
mvn clean package
- Run the hpi command:
mvn hpi:hpi
- In the Jenkins console, click Manage Jenkins > Manage Plugins.
- In the Plugin Manager, click the Advanced tab. In the Upload Plugin section, click Choose File.
- Choose the Jenkins plugin file that you built in Step 3.
- Click Upload.