Add a project to CodeScan from GitHub

This document guides how to add a GitHub project to your CodeScan cloud account and run the analysis.

  1. Login to your CodeScan account.

  2. On the top right corner, click on the '+' icon and select Analyze new project.

  1. It takes you to a different window. Choose the Organization for which you'd like to create a project. Click Set Up.

  1. On the next window, click on Add Analysis Project.

  1. You will now see a new pop-up window; select GitHub from the given option.

  1. Once you select GitHub, it will redirect to the GitHub login page. Validate your credentials and click on Login.

  1. On the next screen, fill in the details below:

    • Choose the Repository you want to add, followed by the Project Branch name.

    • Make sure you select the checkbox under Check Pull Requests.

    • The Project Key and the Project Name are auto-assigned. You can edit the fields as per your requirement.

    • Click on Add and Run Now.

    • About Project KeyTo know where to find the project key, refer to our documentation by clicking HERE.

  2. This triggers the project analysis and the project being added under your CodeScan organization.

  3. You can view the project analysis report by clicking on Details from your VC repository.

  1. When you click the link, it will take you to the CodeScan Project page, where you can view your project's log report.

Now that the webhooks have been created, every time there is a push to the tracked branch or a pull request made/updated against the tracked branch, an analysis will be triggered in CodeScan.

Last updated