Move Condition location in dotnet-trusted-publish
authorWilliam Godbe <wigodbe@microsoft.com>
Wed, 27 Sep 2017 23:03:35 +0000 (16:03 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2017 23:03:35 +0000 (16:03 -0700)
buildpipeline/DotNet-Trusted-Publish.json

index 025f9d4..490ea2b 100644 (file)
       "alwaysRun": false,
       "displayName": "Inject signed symbol catalogs",
       "timeoutInMinutes": 0,
+      "condition": "and(succeeded(), ne(variables['PB_SignType'], 'oss'))",
       "task": {
         "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
         "versionSpec": "1.*",
         "filename": "msbuild",
         "arguments": "/t:InjectSignedSymbolCatalogIntoSymbolPackages /p:SymbolPackagesToPublishGlob=$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer\\$(ConfigurationGroup)\\$(AzureContainerSymbolPackageGlob) /p:SymbolCatalogCertificateId=$(PB_SymbolCatalogCertificateId)",
         "workingFolder": "$(Pipeline.SourcesDirectory)",
-        "failOnStandardError": "true",
-        "condition": "and(succeeded(), ne(variables['PB_SignType'], 'oss'))"
+        "failOnStandardError": "true"
       }
     },
     {