dependency-check / dependency-check/azuredevops

Updating takes a long time

Open
#199 8 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
53
Forks
35
PR merge metrics
No merged PRs in 30d

Description

We have a pipeline that runs nightly with --updateonly enabled to download the latest updates and then publish them as an artifact to be used by out other pipelines. Usually this only takes 5 minutes to run however recently it's taking over 60 minutes and hitting the maximum time limit of the agent.
Does anyone know why this might be happening? No changes have been made to our pipeline and I have tried a new nvd API key.
Our pipeline looks like this
`- stage: update
displayName: Update OWASP Dependency Check Data
jobs:
- job: update
displayName: Update OWASP Dependency Check Data
steps:
- checkout: none

- task: dependency-check-build-task@6
displayName: OWASP Dependency Check
retryCountOnTaskFailure: 1
inputs:
dependencyCheckVersion: $(dependencyCheckVersion)
projectName: 'Update'
scanPath: '$(Pipeline.Workspace)'
additionalArguments: >
--nvdApiKey $(nvdApiKey)
--nvdApiDelay 6000
--data "$(Pipeline.Workspace)/owasp-dependency-check-data"
--updateonly

- publish: $(Pipeline.Workspace)/owasp-dependency-check-data
artifact: owasp-dependency-check-data`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.