-
Notifications
You must be signed in to change notification settings - Fork 132
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
[Main] Publish Artifacts step failed after rerun #4829
Comments
Yes, I had to add the condition back as it was impossible to debug CI issues without artifacts getting uploaded. |
What about appending |
@ellahathaway touched on this in the original issue:
|
I've chatted with AzDO folks on this scenario in the past. Their recommended pattern is to use the |
One caveat is that this recommendation was given before all the 1ES-injected tasks like SBOM generation. So I don't know what impact that will have on things as there is a fair amount of overhead in publishing any artifacts at all. |
Related to #4537 and dotnet/sdk@e5a8c45, it seems that @ViktorHofer added the condition
succeededOrFailed()
to the publish artifacts step and it does not support overwriting artifacts.Failing build (internal Microsoft link):
Does below solution make sense to you @MichaelSimons @ellahathaway @ViktorHofer ?
$(System.JobAttempt)
that only publish on fail. This will not affect the other pipelines download these artifacts.The text was updated successfully, but these errors were encountered: