Skip to content

Updating takes a long time #199

@elobire

Description

@elobire

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions