@@ -41,15 +41,6 @@ parameters:
4141 -Stable Preview
4242 -Stable Final
4343
44- -name :featureBand
45- displayName :' Target Feature Band'
46- type :string
47- default :' Detect by Branch Name'
48- values :
49- -' Detect by Branch Name'
50- -' 1xx'
51- -' >= 2xx'
52-
5344variables :
5445-name :isScheduleTrigger
5546value :${{ eq(variables['Build.Reason'], 'Schedule') }}
@@ -143,8 +134,5 @@ extends:
143134scope :${{ parameters.buildScope }}
144135isOfficialBuild :false
145136# Exclude runtime dependent jobs for any branch not producing a 1xx version since runtime-related repos aren't built in that context
146- # Will exclude runtime-dependent jobs when either of the following are true:
147- # - 'Detect By Branch Name' was selected for the feature band: branch is not main and does not contain '.1xx' but does end with 'xx'.
148- # - '>= 2xx' was selected for the feature band
149- ${{ if or(and(eq(parameters.featureBand, 'Detect by Branch Name'), ne(variables['Build.SourceBranch'], 'refs/heads/main'), not(contains(variables['Build.SourceBranch'], '.1xx')), endsWith(variables['Build.SourceBranch'], 'xx')), eq(parameters.featureBand, '>= 2xx')) }} :
150- excludeRuntimeDependentJobs :true
137+ # This is enabled for all branches except main and 1xx
138+ excludeRuntimeDependentJobs :false