diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d3ad7613d..1c3647ab8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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'