From 7efc9bdcc775c6ae1dc75d5216fc2c81b8a91626 Mon Sep 17 00:00:00 2001 From: shahasad <43590019+shahasad@users.noreply.github.com> Date: Sat, 19 Oct 2019 18:28:12 -0700 Subject: [PATCH] Some condition fixes on nuget pipeline, to get it green (#2195) --- tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml index 4693e5e931..c217273b63 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/cpu.yml @@ -139,7 +139,7 @@ jobs: # So, all the copy/publish jobs are being run on hosted agent # TODO: install the desired azureps on our VMs or use later bugfixed version of AzureFileCopy demands: azureps - condition: and (${{ parameters.DoEsrp }}, eq(variables['Build.SourceBranch'], 'refs/heads/master')) + condition: and (succeeded(), and (${{ parameters.DoEsrp }}, eq(variables['Build.SourceBranch'], 'refs/heads/master'))) dependsOn: - NuGet_Test_Win - NuGet_Test_Linux @@ -175,6 +175,7 @@ jobs: storage: ortpackages containerName: ortpackages blobPrefix: '$(CurrentDate)/' + continueOnError: true - task: DotNetCoreCLI@2 displayName: 'Copy Signed NuGet Package to Internal NuGet Feed'