Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Check Download Failure #34

Closed
ejohn20 opened this issue Apr 16, 2020 · 4 comments
Closed

Dependency Check Download Failure #34

ejohn20 opened this issue Apr 16, 2020 · 4 comments

Comments

@ejohn20
Copy link
Collaborator

ejohn20 commented Apr 16, 2020

Downloading Dependency Check installer appears to be failing on local Azure DevOps agents. Adding the -Force parameter may fix this.

##[error]System.IO.IOException: Failed to create file 'E:\MyPool\AGENT2\_work\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.3.2001\dependency-check\bin\dependency-check.sh' while expanding the archive file 'E:\MyPool\AGENT2\_work\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.3.2001\dependency-check-5.3.2-release.zip' contents as the file 'E:\MyPool\AGENT2\_work\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.3.2001\dependency-check\bin\dependency-check.sh' already exists. Use the -Force parameter if you want to overwrite the existing directory 'E:\MyPool\AGENT2\_work\_tasks\dependency-check-build-task_47ea1f4a-57ba-414a-b12e-c44f42765e72\5.3.2001\dependency-check\bin\dependency-check.sh' contents when expanding the archive file.
Ending Dependency Check..."
@ejohn20
Copy link
Collaborator Author

ejohn20 commented Apr 16, 2020

Adding the -Force parameter to this line:

src/Tasks/dependency-check-build-task/dependency-check-build-task.ps1

Expand-Archive -Path dependency-check-5.3.2-release.zip -DestinationPath . -Force

ejohn20 added a commit that referenced this issue Apr 16, 2020
ejohn20 added a commit that referenced this issue Apr 16, 2020
ejohn20 added a commit that referenced this issue Apr 16, 2020
Issue #34: Installer Download Failure
@ejohn20
Copy link
Collaborator Author

ejohn20 commented Apr 16, 2020

@cybernot / @gctse - v5.3.2.2 build task was deployed. Can you confirm this fixes the issue?

@cybernot
Copy link

We ( gctse and I) are running a build now to verify, we'll tell you as soon as it's done

@n1h1lu5
Copy link

n1h1lu5 commented Apr 16, 2020

I confirm that this fixes the issue.
Thanks for the quick fix!

@ejohn20 ejohn20 closed this as completed Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants