Skip to main content

Set GitLab base directories for a Pipeline Scan

You can set environment variables for GitLab base directories to enable a Pipeline Scan to generate GitLab issues of discovered flaws when scanning Java applications.

You must complete this task before you can use the --gl_issue_generation parameter when scanning Java applications.

To complete this task:

  1. Select Settings > CI/CD > Variables.

  2. Set the following environment variables:

    • SRC_ROOT: the filepath typically is /src/main/java/.
    • JSP_ROOT: the filepath typically is /src/main/webapp/.