Some condition fixes on nuget pipeline, to get it green (#2195)

This commit is contained in:
shahasad 2019-10-19 18:28:12 -07:00 committed by Changming Sun
parent 836d22cd4c
commit 7efc9bdcc7

View file

@ -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'