some fixes on nuget CPU pipeline

This commit is contained in:
Shah Asaduzzaman (ASAD) 2019-10-19 10:16:18 -07:00
parent 6d4682581e
commit d738c89536

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
@ -152,6 +152,7 @@ jobs:
parameters:
downloadPath: $(Build.BinariesDirectory)/nuget-artifact/final-package
gitCommitHash: $(OnnxRuntimeGitCommitHashShort)
contiueOnError: true
- template: get-nuget-package-version-as-variable.yml
parameters:
@ -175,6 +176,7 @@ jobs:
storage: ortpackages
containerName: ortpackages
blobPrefix: '$(CurrentDate)/'
continueOnError: true
- task: DotNetCoreCLI@2
displayName: 'Copy Signed NuGet Package to Internal NuGet Feed'