This commit is contained in:
parent
709ace5d4f
commit
b50cd5c4d0
|
@ -33,8 +33,7 @@ pipeline:
|
|||
dependency_check:
|
||||
image: registry.gitlab.com/gitlab-ci-utils/docker-dependency-check:latest
|
||||
commands:
|
||||
- /usr/share/dependency-check/bin/dependency-check.sh --scan "./" --format ALL --project "$CI_REPO" --failOnCVSS 0
|
||||
- if [ $(grep -c "vulnerabilities" dependency-check-report.json) -gt 0 ]; then exit 2; fi
|
||||
- /usr/share/dependency-check/bin/dependency-check.sh --scan ./*.json -out ./ --format ALL --failOnCVSS 0
|
||||
|
||||
package:
|
||||
image: gitnet.fr/deblan/devenv
|
||||
|
|
Loading…
Reference in a new issue