diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 50e951f59..78fb856e3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -682,20 +682,6 @@ stages: mkdir -p ./bin/ cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Readarr/. ./bin/ displayName: Move Package Contents - - bash: | - if [[ $OSNAME == "Mac" ]]; then - url=https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-macos.tar.gz - elif [[ $OSNAME == "Linux" ]]; then - url=https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz - else - echo "Unhandled OS" - exit 1 - fi - curl -s -L "$url" | tar -xz - chmod +x geckodriver - mv geckodriver _tests - displayName: Install Gecko Driver - condition: and(succeeded(), ne(variables['osName'], 'Windows')) - bash: | chmod a+x ${TESTSFOLDER}/test.sh ${TESTSFOLDER}/test.sh ${OSNAME} Automation Test @@ -709,7 +695,7 @@ stages: TargetFolder: '$(Build.ArtifactStagingDirectory)/screenshots' - publish: $(Build.ArtifactStagingDirectory)/screenshots artifact: '$(osName)AutomationScreenshots' - continueOnError: true + condition: and(succeeded(), eq(variables['System.JobAttempt'], '1')) displayName: Publish Screenshot Bundle - task: PublishTestResults@2 inputs: