Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.5 KB

source_build_installation.md

File metadata and controls

43 lines (35 loc) · 1.5 KB

Plugin Source Build Installation

Use these instructions to build and install the Google Analyze Code Security plugin from source files.

  1. Clone the plugin and enter the directory:
     git clone [email protected]:jenkinsci/google-analyze-code-security-plugin.git
     cd google-analyze-code-security-plugin
  2. Check out the branch that you want to build from:
      git checkout <branch name>
  3. 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
  4. Run the hpi command:
     mvn hpi:hpi
  5. In the Jenkins console, click Manage Jenkins > Manage Plugins.
  6. In the Plugin Manager, click the Advanced tab. In the Upload Plugin section, click Choose File.
  7. Choose the Jenkins plugin file that you built in Step 3.
  8. Click Upload.