Azure-devops-docs: Should indicate what happens when publishing to the same artifact

Created on 14 Feb 2020  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

This should describe the behaviour when publishing to an existing artifact.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 devops-cictech devopprod doc-bug stale-issue

Most helpful comment

I want to know if I can publish files to the same artifact from different jobs?

All 5 comments

I want to know if I can publish files to the same artifact from different jobs?

@ScottLangham Any updates on your question? please let me know. thank you.

I found through experimentation that it doesn't work.

Confirming @ScottLangham's experimentation, this is the error I get today (and the PublishPipeLineArtifact task fails):

No LastRequestResponse on exception ArtifactExistsException: Artifact packageNamesJsonFile already exists for build 151265.
...

[error]Artifact packageNamesJsonFile already exists for build 151265.

One job creates and updates one property in a JSON file, which it then uploads.
A subsequent job downloads the artifact and updates another property in the file.
Another subsequent job needs the file with both properties filled out; I was attempting to simply have the one artifact instead of having to upload another artifact (basically, a copy of the first artifact).
😕

This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MJECloud picture MJECloud  Â·  3Comments

EM1L picture EM1L  Â·  3Comments

csutorasr picture csutorasr  Â·  3Comments

michhar picture michhar  Â·  3Comments

dtamai picture dtamai  Â·  3Comments