From 698eedb51ac808b997f725c642f35000902343bc Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 6 Sep 2020 21:38:01 -0400 Subject: [PATCH] Cache Yarn Packages on build Signed-off-by: Robin Dadswell --- azure-pipelines.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 70c86e994..abd78a8b0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -697,17 +697,6 @@ stages: chmod a+x ${TESTSFOLDER}/test.sh ${TESTSFOLDER}/test.sh ${OSNAME} Automation Test displayName: Run Automation Tests - - task: CopyFiles@2 - displayName: 'Copy Screenshot to: $(Build.ArtifactStagingDirectory)' - inputs: - SourceFolder: '$(Build.SourcesDirectory)' - Contents: | - **/*_test_screenshot.png - TargetFolder: '$(Build.ArtifactStagingDirectory)/screenshots' - - publish: $(Build.ArtifactStagingDirectory)/screenshots - artifact: '$(osName)AutomationScreenshots' - condition: and(succeeded(), eq(variables['System.JobAttempt'], '1')) - displayName: Publish Screenshot Bundle - task: PublishTestResults@2 inputs: testResultsFormat: 'NUnit' @@ -791,6 +780,9 @@ stages: - job: Analyze_Backend displayName: Backend + dependsOn: Prepare + condition: and(succeeded(), eq(dependencies.Prepare.outputs['setVar.backendNotUpdated'], '0')) + variables: disable.coverage.autogenerate: 'true' pool: