dependency-check / azuredevops

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

download from github stop (proxy?) #85

Closed gt97 closed 3 years ago

gt97 commented 3 years ago

Hi

We use a webproxy to connect to the internet. I added to the arguments: --proxyserver "myproxy" --proxyport "myport"

but when I use the extension it writes in the log: Downloading Dependency Check latest installer from GitHub

and doesn't proceed.

Looks to me that proxy configuration is not used.

ejohn20 commented 3 years ago

That may be the case. Could be related to a bug in the additional arguments parameter. As a work around, rather than pulling the installer externally, you can set the local install path property to a directory on the build agent: https://github.com/dependency-check/azuredevops/blob/ec3d0e53f8be4feeb48eb97be9df71b01767baed/src/Tasks/dependency-check-build-task/task.json#L135.

That will use a local copy of dependency check rather than downloading the installer.

ejohn20 commented 3 years ago

Duplicate of #87