Enable SourceBranch to be passed from the pipeline parameters
authorJC Aguilera <juanam@microsoft.com>
Wed, 28 Jun 2017 17:15:58 +0000 (10:15 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2017 17:15:58 +0000 (10:15 -0700)
sets SkipBranchAndVersionOverrides=false so SourceBranch and SourceVersion
are correctly passed through the pipeline file.

set SkipBranchAndVersionOverrides=true for the publish definitions as
they don't build from the SourceBranch and instead use a different
tools branch to do their work.

Commit migrated from https://github.com/dotnet/coreclr/commit/9797dac62b0b890f726e1fca61fbb95a075ac0e3

src/coreclr/buildpipeline/pipelines.json

index 5d951cf..f96b488 100644 (file)
@@ -3,7 +3,8 @@
   "Definitions": {
     "Path": ".",
     "Type": "VSTS",
-    "BaseUrl":  "https://devdiv.visualstudio.com/DefaultCollection"
+    "BaseUrl":  "https://devdiv.visualstudio.com/DefaultCollection",
+    "SkipBranchAndVersionOverrides": "false"
   },
   "DefinitionGroups": [
     {
       "Definitions": [
         {
           "Name": "DotNet-Trusted-Publish",
+          "SkipBranchAndVersionOverrides": "true",
           "Parameters": {
             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
             "GitHubRepositoryName": "coreclr",
       "Definitions": [
         {
           "Name": "DotNet-Trusted-Publish",
+          "SkipBranchAndVersionOverrides": "true",
           "Parameters": {
             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
             "GitHubRepositoryName": "coreclr"
       "Definitions": [
         {
           "Name": "DotNet-Trusted-Publish-Symbols",
+          "SkipBranchAndVersionOverrides": "true",
           "Parameters": {
           },
           "ReportingParameters": {
       "Definitions": [
         {
           "Name": "DotNet-Trusted-Publish",
+          "SkipBranchAndVersionOverrides": "true",
           "Parameters": {
             "VstsRepositoryName": "DotNet-CoreCLR-Trusted",
             "GitHubRepositoryName": "coreclr"
       ]
     }
   ]
-}
\ No newline at end of file
+}