Skip to content
Snippets Groups Projects
Commit a0ffdae9 authored by Clement Bois's avatar Clement Bois
Browse files

Merge branch 'fix/semgrep-subdir' into 'master'

fix: semgrep subdir

Closes #47

See merge request to-be-continuous/node!80
parents 4f113a13 8ac460c0
No related branches found
No related tags found
No related merge requests found
...@@ -787,14 +787,13 @@ node-semgrep: ...@@ -787,14 +787,13 @@ node-semgrep:
stage: test stage: test
before_script: before_script:
- *node-scripts - *node-scripts
- cd $NODE_PROJECT_DIR - mkdir -p -m 777 ${NODE_PROJECT_DIR}/reports
- mkdir -p -m 777 reports
- setup_semgrep_rules - setup_semgrep_rules
script: script:
- >- - >-
semgrep ci ${TRACE+--verbose} ${NODE_SEMGREP_ARGS} semgrep ci ${TRACE+--verbose} ${NODE_SEMGREP_ARGS} --subdir ${NODE_PROJECT_DIR}
--gitlab-sast-output=reports/node-semgrep.gitlab.json --gitlab-sast-output=${NODE_PROJECT_DIR}/reports/node-semgrep.gitlab.json
${DEFECTDOJO_SEMGREP_REPORTS:+--json-output=reports/node-semgrep.native.json} ${DEFECTDOJO_SEMGREP_REPORTS:+--json-output=${NODE_PROJECT_DIR}/reports/node-semgrep.native.json}
artifacts: artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_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