mirror of
https://gitlab.com/components/sast.git
synced 2025-07-01 15:58:28 +02:00
Disable analyzer replaced by semgrep
This commit is contained in:
parent
036c14b9ed
commit
4852fea0ce
2 changed files with 25 additions and 55 deletions
|
@ -3,12 +3,12 @@ include:
|
|||
|
||||
stages: [test, release]
|
||||
|
||||
ensure-brakeman-job-added:
|
||||
ensure-semgrep-job-added:
|
||||
image: badouralix/curl-jq
|
||||
script:
|
||||
- |
|
||||
route="$CI_API_V4_URL/projects/$CI_PROJECT_ID/pipelines/$CI_PIPELINE_ID/jobs"
|
||||
count=`curl --silent $route | jq 'map(select(.name | contains("brakeman-sast"))) | length'`
|
||||
count=`curl --silent $route | jq 'map(select(.name | contains("semgrep-sast"))) | length'`
|
||||
if [ "$count" != "1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue