Skip Screenshot on 2nd build attempt

This commit is contained in:
Qstick 2020-10-15 21:14:27 -04:00
parent ab3b5bdf8b
commit 4a681601b2
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ stages:
- publish: $(Build.ArtifactStagingDirectory)/screenshots
artifact: '$(osName)AutomationScreenshots'
displayName: Publish Screenshot Bundle
continueOnError: true
condition: and(succeeded(), eq(variables['System.JobAttempt'], '1'))
- task: PublishTestResults@2
inputs:
testResultsFormat: 'NUnit'