Disable publishing if no publish type is specified
authorWes Haggard <Wes.Haggard@microsoft.com>
Fri, 3 Nov 2017 21:21:18 +0000 (14:21 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Fri, 3 Nov 2017 21:22:33 +0000 (14:22 -0700)
This is first step for configuring publish, there will need to
be some further refactoring to make the publishing what we need
for orchestrated builds.

Commit migrated from https://github.com/dotnet/core-setup/commit/75bed989ccb49da15048108cf1fe8ac379c3e461

src/installer/buildpipeline/Core-Setup-Publish.json

index 1c73d58..c6d1620 100644 (file)
       "continueOnError": false,
       "alwaysRun": false,
       "displayName": "Publish",
+      "condition": "and(succeeded(), ne(variables.PB_PublishType, ''))",
       "timeoutInMinutes": 0,
       "task": {
         "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",