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:
-
Select Settings > CI/CD > Variables.
-
Set the following environment variables:
SRC_ROOT
: the filepath typically is/src/main/java/
.JSP_ROOT
: the filepath typically is/src/main/webapp/
.