dependency-check / azuredevops

Dependency Check Azure DevOps Extension
Apache License 2.0
45 stars 25 forks source link

Dependency-Check crashes when adding dataMirror URL #95

Open PascalTurbo opened 2 years ago

PascalTurbo commented 2 years ago

Hi There,

We're having a local data mirror which works great with mvn analyzer. Now I'm working with the dependency-check-build-task but it crashes after adding dataMirror URL.

  - task: dependency-check-build-task@6
    inputs:
      projectName: "Frontend"
      scanPath: "$(Build.Repository.LocalPath)/**/*"
      format: "HTML, JSON, JUNIT"
      additionalArguments: "--disableYarnAudit --nodeAuditSkipDevDependencies --nodePackageSkipDevDependencies
     dataMirror: 'http://1.2.3.4"'
Downloading Dependency Check data cache archive...
Downloading ZIP from "http://1.2.3.4"...
EISDIR: illegal operation on a directory, open '/opt/build-agent/_work/_tasks/dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72/6.0.4'
##[error]EISDIR: illegal operation on a directory, open '/opt/build-agent/_work/_tasks/dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72/6.0.4'
##[error]Unhandled error condition detected.