dependency-check / dependency-check/azuredevops

Downloading pipeline artifact generated by task fails

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
53
Forks
35
PR merge metrics
No merged PRs in 30d

Description

The dependency check task automatically publishes a pipeline artifact with the name 'Dependency Check' which contains the reports

We want to download this artifact later on in the pipeline - however, upon download we get the following error:
```
Download from the specified build: #931865
Download artifact to: /home/vsts/work/1/Dependency Check
Using default max parallelism.
Max dedup parallelism: 192
ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 38932832-ee45-43dc-bd55-5019b73c5004
ApplicationInsightsTelemetrySender did not correlate any events with X-TFS-Session 38932832-ee45-43dc-bd55-5019b73c5004
##[error]Invalid hex string #/35228788/dependency-check (Parameter 'hex')
Finishing: Validate dependency check artifact has been published
```

My assumption is that this is due to the space in the artifact name (this could be incorrect). I created my own pipeline artifact with the same files and name it 'dependency-check' and was able to download the artifact with no issues.

Potential solutions cloud be:
- Make it possible to turn off artifact publishing, and let people publish artifacts themselves
- Change name of published artifact

Alternatively, if someone knows how to get artifact download to work please let me know!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.