Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSTS Publish Artifacts error when executing 2 times

I have a build set up in VSTS and at the end I want to Publish my Artifacts to VSTS for releasemanagement and I want to Publish my Artifacts to a file share for other purposes. So I have 2 Publish Artifacts tasks.

Build task

To VSTS To VSTS

To FileShare

To FileShare I get this error

Build error

It doesn't matter in which order I put the tasks. When I put file share first then to VSTS will fail and when I put VSTS first the publish to file share fails.

When I do a commit and a build is started automatically it sometimes works. When I manually start a second build I get the error.

Here is the complete build log: Build log

like image 834
Danny Avatar asked Oct 28 '25 22:10

Danny


1 Answers

It's telling you the error: Artifact 0.1.0-unstable.18 already exists.

You can't publish two artifacts with the same name. You will have to uniquely identify each artifact.

like image 187
Daniel Mann Avatar answered Oct 31 '25 15:10

Daniel Mann



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!