diff options
author | jashook <jashoo@microsoft.com> | 2017-11-03 14:35:24 -0700 |
---|---|---|
committer | jashook <jashoo@microsoft.com> | 2017-11-03 15:40:47 -0700 |
commit | 45ff8c26137526e859b06b04f739d73c015efcd4 (patch) | |
tree | 0b5733ab64b62c57837b3a39e93edbc080b7e490 /buildpipeline/DotNet-Trusted-Publish.json | |
parent | f4f649a2f7649d989f78b471d0d7d91343da96e7 (diff) | |
download | coreclr-45ff8c26137526e859b06b04f739d73c015efcd4.tar.gz coreclr-45ff8c26137526e859b06b04f739d73c015efcd4.tar.bz2 coreclr-45ff8c26137526e859b06b04f739d73c015efcd4.zip |
[BuildPipeline] Turn off publishing to myget
Do not publish to myget, unless the 'myget' PB_PublishType
is passed.
Diffstat (limited to 'buildpipeline/DotNet-Trusted-Publish.json')
-rw-r--r-- | buildpipeline/DotNet-Trusted-Publish.json | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/buildpipeline/DotNet-Trusted-Publish.json b/buildpipeline/DotNet-Trusted-Publish.json index b54aef695c..2bb1451664 100644 --- a/buildpipeline/DotNet-Trusted-Publish.json +++ b/buildpipeline/DotNet-Trusted-Publish.json @@ -179,6 +179,7 @@ "alwaysRun": false, "displayName": "packages -> dotnet.myget.org", "timeoutInMinutes": 0, + "condition": "and(succeeded(), contains(variables.PB_PublishType, 'myget'), eq(ConfigurationGroup, 'Release'))", "task": { "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", "versionSpec": "1.*", @@ -199,6 +200,7 @@ "alwaysRun": false, "displayName": "symbol packages -> dotnet.myget.org", "timeoutInMinutes": 0, + "condition": "and(succeeded(), contains(variables.PB_PublishType, 'myget'), eq(ConfigurationGroup, 'Release'))", "task": { "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", "versionSpec": "1.*", @@ -217,9 +219,9 @@ "enabled": true, "continueOnError": false, "alwaysRun": false, - "displayName": "Packages -> Azure", + "displayName": "Packages -> Blob Feed", "timeoutInMinutes": 0, - "condition": "and(succeeded(), eq(variables['ConfigurationGroup'], 'Release'))", + "condition": "and(succeeded(), contains(variables.PB_PublishType, 'blob'), eq(variables.ConfigurationGroup'], 'Release'))", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", @@ -236,9 +238,9 @@ "enabled": true, "continueOnError": false, "alwaysRun": false, - "displayName": "Symbol Packages -> Azure", + "displayName": "Symbol Packages -> Blob Feed", "timeoutInMinutes": 0, - "condition": "and(succeeded(), eq(variables['ConfigurationGroup'], 'Release'))", + "condition": "and(succeeded(), contains(variables.PB_PublishType, 'blob'), eq(variables.ConfigurationGroup'], 'Release'))", "task": { "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", "versionSpec": "1.*", @@ -297,6 +299,7 @@ "alwaysRun": false, "displayName": "Update versions repository", "timeoutInMinutes": 0, + "condition": "and(succeeded(), contains(variables.PB_PublishType, 'versions'), eq(variables.ConfigurationGroup'], 'Release'))", "task": { "id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1", "versionSpec": "1.*", @@ -615,6 +618,10 @@ }, "PB_SymbolCatalogCertificateId": { "value": "400" + }, + "PB_PublishType": { + "value": "", + "allowOverride": true } }, "retentionRules": [ |