Commit 1a49d43b authored by SBassett's avatar SBassett
Browse files

* Add debug echo

* Remove comment and whitespace from before_script var stuff
parent c015e86b
Pipeline #1454 passed with stage
in 49 seconds
......@@ -10,8 +10,8 @@ semgrep_check:
before_script:
- apt-get update -yqq
- python3 -m pip install semgrep
- |
# check if alternative npm audit options were specified calling gitlab-ci.yml file
- |
echo ${WM_APPSEC_SEMGREP_OPTIONS}
if [ ! -z ${WM_APPSEC_SEMGREP_OPTIONS} ]; then
SEMGREP_OPTIONS=${WM_APPSEC_SEMGREP_OPTIONS}
fi
......@@ -19,9 +19,3 @@ semgrep_check:
# create a new package lock file, run auditjs
script:
- semgrep ${SEMGREP_OPTIONS}
# optional artifact reports - not necessary for now
# script: semgrep-agent --gitlab-json > gl-sast-report.json || true
# artifacts:
# reports:
# sast: gl-sast-report.json
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment