azuredevops icon indicating copy to clipboard operation
azuredevops copied to clipboard

Dependency-Check crashes when adding dataMirror URL

Open PascalTurbo opened this issue 4 years ago • 0 comments

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.

PascalTurbo avatar Jan 13 '22 15:01 PascalTurbo