This commit is contained in:
parent
b7595a371d
commit
709ace5d4f
|
@ -30,6 +30,12 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
package:
|
package:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: gitnet.fr/deblan/devenv
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue