Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit ba86da4

Browse files
committed
Enable SourceBranch to be passed from the pipeline parameters
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.
1 parent 80e60e3 commit ba86da4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

buildpipeline/pipelines.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"Definitions": {
44
"Path": ".",
55
"Type": "VSTS",
6-
"BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection"
6+
"BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection",
7+
"SkipBranchAndVersionOverrides": "false"
78
},
89
"DefinitionGroups": [
910
{
@@ -396,6 +397,7 @@
396397
"Definitions": [
397398
{
398399
"Name": "DotNet-Trusted-Publish",
400+
"SkipBranchAndVersionOverrides": "true",
399401
"Parameters": {
400402
"VstsRepositoryName": "DotNet-CoreCLR-Trusted",
401403
"GitHubRepositoryName": "coreclr",
@@ -425,6 +427,7 @@
425427
"Definitions": [
426428
{
427429
"Name": "DotNet-Trusted-Publish",
430+
"SkipBranchAndVersionOverrides": "true",
428431
"Parameters": {
429432
"VstsRepositoryName": "DotNet-CoreCLR-Trusted",
430433
"GitHubRepositoryName": "coreclr"
@@ -452,6 +455,7 @@
452455
"Definitions": [
453456
{
454457
"Name": "DotNet-Trusted-Publish",
458+
"SkipBranchAndVersionOverrides": "true",
455459
"Parameters": {
456460
"VstsRepositoryName": "DotNet-CoreCLR-Trusted",
457461
"GitHubRepositoryName": "coreclr"

0 commit comments

Comments
 (0)