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`
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:
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`