Skip to content

Commit

Permalink
run-tests-on-os.yml: Added JobId so to the artifact name so re-runnin…
Browse files Browse the repository at this point in the history
…g a failed test job will succeed if the artifact exists
  • Loading branch information
NightOwl888 committed Oct 26, 2021
1 parent 2023eda commit 9e84772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/azure-templates/run-tests-on-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ steps:
displayName: 'Publish Artifact: ${{ parameters.testResultsArtifactName }}'
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)/${{ parameters.testResultsArtifactName }}'
ArtifactName: '${{ parameters.testResultsArtifactName }}_${{ parameters.osName }}_${{ parameters.framework }}_${{ parameters.vsTestPlatform }}'
ArtifactName: '${{ parameters.testResultsArtifactName }}_${{ parameters.osName }}_${{ parameters.framework }}_${{ parameters.vsTestPlatform }}__JobID_$(System.JobId)'
condition: succeededOrFailed()

# Due to the fact that it is not possible to loop a task and
Expand Down

0 comments on commit 9e84772

Please sign in to comment.