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:
30
30
value : ${{ eq(variables['System.TeamProject'], 'internal') }}
31
31
32
32
- name : isMainBranch
33
- value : ${{ eq (variables['Build.SourceBranch'], 'refs/heads/main') }}
33
+ value : ${{ in (variables['Build.SourceBranch'], 'refs/heads/main', 'refs/heads/main-ub ') }}
34
34
35
35
- name : isScheduleTrigger
36
36
value : ${{ eq(variables['Build.Reason'], 'Schedule') }}
@@ -39,7 +39,8 @@ variables:
39
39
value : ${{ eq(variables['Build.Reason'], 'PullRequest') }}
40
40
41
41
stages :
42
- - template : templates/stages/vmr-scan.yml
42
+ - ${{ if not(eq(variables.isPRTrigger, 'true')) }} :
43
+ - template : templates/stages/vmr-scan.yml
43
44
44
45
- template : /src/installer/eng/pipelines/templates/stages/vmr-build.yml
45
46
parameters :
You can’t perform that action at this time.
0 commit comments