File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/SourceBuild/content/eng/pipelines Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ variables:
3030 value : ${{ eq(variables['System.TeamProject'], 'internal') }}
3131
3232- name : isMainBranch
33- value : ${{ eq (variables['Build.SourceBranch'], 'refs/heads/main') }}
33+ value : ${{ in (variables['Build.SourceBranch'], 'refs/heads/main', 'refs/heads/main-ub ') }}
3434
3535- name : isScheduleTrigger
3636 value : ${{ eq(variables['Build.Reason'], 'Schedule') }}
@@ -39,7 +39,8 @@ variables:
3939 value : ${{ eq(variables['Build.Reason'], 'PullRequest') }}
4040
4141stages :
42- - template : templates/stages/vmr-scan.yml
42+ - ${{ if not(eq(variables.isPRTrigger, 'true')) }} :
43+ - template : templates/stages/vmr-scan.yml
4344
4445- template : /src/installer/eng/pipelines/templates/stages/vmr-build.yml
4546 parameters :
You can’t perform that action at this time.
0 commit comments