update dependency-check cron job to purge cache before checking (#11436)

The dependency-check cron job now purges any caches NVD before performing dependency check. Without this, a high CVE vulernability was reported in this job a few months after the nvd was updated for it.
This commit is contained in:
zachjsh 2021-07-13 04:43:31 -04:00 committed by GitHub
parent 73711a456a
commit ace4b807f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ jobs:
stage: cron
install: skip
script: |-
${MVN} dependency-check:aggregate -pl '!integration-tests' || { echo "
${MVN} dependency-check:purge dependency-check:aggregate -pl '!integration-tests' || { echo "
The OWASP dependency check has found security vulnerabilities. Please use a newer version
of the dependency that does not have vulnerabilities. To see a report run