Skip Screenshot on 2nd build attempt

pull/5060/head
Qstick 4 years ago
parent ab3b5bdf8b
commit 4a681601b2

@ -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'

Loading…
Cancel
Save