diff options
author | Davis Goodin <dagood@users.noreply.github.com> | 2017-06-13 08:55:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 08:55:25 -0500 |
commit | 8115d8bdaa208f100897c30d9016c77259adb762 (patch) | |
tree | 5f463847a6eabaf65b2d602765d428fdea9a9650 /buildpipeline | |
parent | a3ebe55ad325b1a68c5418a5e163ddbf71168a73 (diff) | |
download | coreclr-8115d8bdaa208f100897c30d9016c77259adb762.tar.gz coreclr-8115d8bdaa208f100897c30d9016c77259adb762.tar.bz2 coreclr-8115d8bdaa208f100897c30d9016c77259adb762.zip |
Use NuGetPush target from BuildTools (#12221)
Diffstat (limited to 'buildpipeline')
-rw-r--r-- | buildpipeline/DotNet-Trusted-Publish.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json index fc4d9d0217..8174381afb 100644 --- a/buildpipeline/DotNet-Trusted-Publish.json +++ b/buildpipeline/DotNet-Trusted-Publish.json @@ -151,9 +151,9 @@ "inputs": { "scriptType": "inlineScript", "scriptName": "", - "arguments": "$(MyGetApiKey) $(ConfigurationGroup)", - "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Pipeline_SourcesDirectory\\packages\\AzureTransfer\\$env:ConfigurationGroup\\$env:AzureContainerPackageGlob $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600", - "workingFolder": "", + "arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(ConfigurationGroup) -PackagesGlob $(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(ConfigurationGroup)\\$(AzureContainerPackageGlob) -MyGetFeedUrl $(MyGetFeedUrl)", + "workingFolder": "$(Pipeline.SourcesDirectory)", + "inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl)\n\nif ($ConfigurationGroup -ne \"Release\") { exit }\n\nmsbuild /t:NuGetPush /v:Normal `\n/p:NuGetExePath=$env:CustomNuGetPath `\n/p:NuGetApiKey=$ApiKey `\n/p:NuGetSource=$MyGetFeedUrl `\n/p:PackagesGlob=$PackagesGlob", "failOnStandardError": "true" } }, @@ -171,9 +171,9 @@ "inputs": { "scriptType": "inlineScript", "scriptName": "", - "arguments": "$(MyGetApiKey) $(ConfigurationGroup)", - "inlineScript": "param($ApiKey, $ConfigurationGroup)\nif ($ConfigurationGroup -ne \"Release\") { exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600", - "workingFolder": "", + "arguments": "-ApiKey $(MyGetApiKey) -ConfigurationGroup $(ConfigurationGroup) -PackagesGlob $(Build.StagingDirectory)\\IndexedSymbolPackages\\*.nupkg -MyGetFeedUrl $(MyGetFeedUrl)", + "workingFolder": "$(Pipeline.SourcesDirectory)", + "inlineScript": "param($ApiKey, $ConfigurationGroup, $PackagesGlob, $MyGetFeedUrl)\n\nif ($ConfigurationGroup -ne \"Release\") { exit }\nif ($env:SourceBranch.StartsWith(\"release/\")) { exit }\n\nmsbuild /t:NuGetPush /v:Normal `\n/p:NuGetExePath=$env:CustomNuGetPath `\n/p:NuGetApiKey=$ApiKey `\n/p:NuGetSource=$MyGetFeedUrl `\n/p:PackagesGlob=$PackagesGlob", "failOnStandardError": "true" } }, |