azuredevops
azuredevops copied to clipboard
Downloading pipeline artifact generated by task fails
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!