CodeScan Integration

Updated 1 month ago by Copado Solutions

CodeScan Integration

If you want to integrate all the functionality included in your CodeScan license with Copado, you need to configure a new Static Code Analysis Settings record in Copado with your CodeScan account.

  1. Log in to your Salesforce org where Copado is installed.
  2. Click on the Static Code Analysis Settings tab.

  3. Create a new record and select CodeScan record type based.
  4. Fill in the Static Code Analysis Settings form:
    1. Static Code Analysis Settings Name: This is only for reference.
    2. Select a version depending on your CodeScan license: Cloud or On premise Sonarqube.
    3. Introduce a CodeScan token created with your CodeScan account.
    4. Type in the URL to access your CodeScan:
      1. The URL for the CodeScan cloud version is:
      2. In case you have a CodeScan license on premise, you need to expose the machine where CodeScan is installed and include URL in this field.
  5. If Cloud CodeScan Version is selected, Cloud Organization needs to be filled in with the organization key that exist under My Organizations in
  6. Finally, you need to add your Static Code Analysis Settings to your deployment flow.

Now, whenever you run a static code analysis from a User Story or Org Credential record with an environment inside this deployment flow, it will take the static code analysis settings you previously assigned to the flow and will create a new Static Code Analysis Results record with a link to the CodeScan results.

How did we do?