Skip to content

Commit

Permalink
Adds job attempt count to artefact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvenSpellmaker authored Jun 12, 2021
1 parent 9c54fdb commit 663ca4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
- ${{ each var in parameters.artifacts }}:
task: PublishPipelineArtifact@1
inputs:
artifactName: ${{ var.key }}
artifactName: ${{ var.key }}-$(System.JobAttempt)
targetPath: ${{ var.value }}
displayName: 'Test Artifact: ${{ var.key }}'
condition: failed()
Expand Down

0 comments on commit 663ca4f

Please sign in to comment.