We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7666115 commit 028cadcCopy full SHA for 028cadc
eng/common/pipelines/templates/steps/publish-artifact.yml
@@ -20,7 +20,7 @@ steps:
20
path: '${{ parameters.ArtifactPath }}'
21
22
- task: PublishPipelineArtifact@1
23
- condition: failed()
+ condition: and(failed(), ${{ parameters.CustomCondition }})
24
displayName: 'Publish failed ${{ parameters.ArtifactName }} Artifacts'
25
inputs:
26
artifactName: '${{ parameters.ArtifactName }}-FailedAttempt$(System.JobAttempt)'
0 commit comments