Run publish on failed or succeeded#7810
Conversation
|
The following pipelines have been queued for testing: |
| @@ -23,7 +23,7 @@ steps: | |||
| displayName: Set Failed Artifact Name | |||
There was a problem hiding this comment.
See my other comment #7758 (comment) I think we can make this one step to set the artifact name.
|
|
||
| - task: 1ES.PublishPipelineArtifact@1 | ||
| condition: and(succeeded(), ${{ parameters.CustomCondition }}) | ||
| condition: and(failedOrSucceeded(), ${{ parameters.CustomCondition }}) |
There was a problem hiding this comment.
| condition: and(failedOrSucceeded(), ${{ parameters.CustomCondition }}) | |
| condition: and(succeededOrFailed(), ${{ parameters.CustomCondition }}) |
Possible nit? Real break? Not certain.
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#7810 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
|
/check-enforcer override |
| Write-Host "##vso[task.setvariable variable=PublishArtifactName;]${{ parameters.ArtifactName }}" | ||
| } | ||
| condition: and(succeededOrFailed(), ${{ parameters.CustomCondition }}) | ||
| displayName: Set Artifact Name $(Agent.JobStatus) |
There was a problem hiding this comment.
I don't expect this variable to actually correctly render as it is runtime computed.
No description provided.