From b927d02131d5a65aa062394359cbabcb42597d1d Mon Sep 17 00:00:00 2001 From: Marie Hoeger Date: Thu, 28 May 2020 22:15:50 -0700 Subject: [PATCH 1/2] testing pipeline --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad632281..95821a15 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -98,9 +98,9 @@ jobs: failTaskOnFailedTests: true - job: BuildArtifacts - condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/v2.x'))) + condition: succeeded() pool: - vmImage: 'windows-latest' + vmImage: 'vs2017-win2016' steps: - task: NodeTool@0 inputs: From f9a0caa8912939d2759837678e8f809d54102a9d Mon Sep 17 00:00:00 2001 From: mhoeger Date: Mon, 1 Jun 2020 13:13:18 -0700 Subject: [PATCH 2/2] adding appropriate conditions --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 95821a15..682697f5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -98,7 +98,7 @@ jobs: failTaskOnFailedTests: true - job: BuildArtifacts - condition: succeeded() + condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/v2.x'))) pool: vmImage: 'vs2017-win2016' steps: