Skip to content
Snippets Groups Projects
Commit 0e26288d authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: semgrep subdir

parent 7fa03355
Branches
No related tags found
No related merge requests found
...@@ -735,14 +735,13 @@ go-semgrep: ...@@ -735,14 +735,13 @@ go-semgrep:
stage: test stage: test
before_script: before_script:
- *go-scripts - *go-scripts
- cd $GO_PROJECT_DIR - mkdir -p -m 777 ${GO_PROJECT_DIR}/reports
- mkdir -p -m 777 reports
- setup_semgrep_rules - setup_semgrep_rules
script: script:
- >- - >-
semgrep ci ${TRACE+--verbose} ${GO_SEMGREP_ARGS} semgrep ci ${TRACE+--verbose} ${GO_SEMGREP_ARGS} --subdir ${GO_PROJECT_DIR}
--gitlab-sast-output=reports/golang-semgrep.gitlab.json --gitlab-sast-output=${GO_PROJECT_DIR}/reports/golang-semgrep.gitlab.json
${DEFECTDOJO_SEMGREP_REPORTS:+--json-output=reports/golang-semgrep.native.json} ${DEFECTDOJO_SEMGREP_REPORTS:+--json-output=${GO_PROJECT_DIR}/reports/golang-semgrep.native.json}
artifacts: artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $ĈI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $ĈI_COMMIT_REF_SLUG"
when: "always" when: "always"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment