Support PB_SignType property in our build definitions
authorWes Haggard <Wes.Haggard@microsoft.com>
Thu, 2 Nov 2017 21:53:17 +0000 (14:53 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Fri, 3 Nov 2017 21:22:33 +0000 (14:22 -0700)
Commit migrated from https://github.com/dotnet/core-setup/commit/a065ab81d352962c1791707cb36cd20b66344079

src/installer/buildpipeline/Core-Setup-Publish.json
src/installer/buildpipeline/Core-Setup-Windows-Arm-BT.json
src/installer/buildpipeline/Core-Setup-Windows-BT.json

index b096e8f..1c73d58 100644 (file)
@@ -6,6 +6,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
         "versionSpec": "1.*",
index 6437f8c..18bd7ab 100644 (file)
@@ -62,6 +62,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
         "versionSpec": "1.*",
@@ -76,6 +77,7 @@
     },
     {
       "enabled": true,
+
       "continueOnError": false,
       "alwaysRun": false,
       "displayName": "Build traversal build dependencies",
index 8e44590..a6887cd 100644 (file)
@@ -62,6 +62,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
         "versionSpec": "1.*",