File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 66 - v3.x/*
77
88schedules :
9- - cron : " 0 0 * * *"
10- displayName : Daily midnight build
9+ - cron : " 0 2 * * *"
10+ displayName : Daily 2 AM build
1111 branches :
1212 include :
1313 - dev
@@ -24,7 +24,10 @@ resources:
2424 type : git
2525 name : 1ESPipelineTemplates/1ESPipelineTemplates
2626 ref : refs/tags/release
27-
27+ ${{ if eq( variables['Build.Reason'], 'Schedule' ) }} :
28+ demands :
29+ - Priority -equals Low
30+
2831variables :
2932 Configuration : Release
3033 buildNumber : $[ counter('build', 4000) ] # Start higher than the versions from the previous pipeline. Every build (pr or branch) will increment.
Original file line number Diff line number Diff line change 55 - dev
66
77schedules :
8- - cron : " 0 0 * * *"
9- displayName : Daily midnight build
8+ - cron : " 0 2 * * *"
9+ displayName : Daily 2 AM build
1010 branches :
1111 include :
1212 - dev
@@ -26,7 +26,10 @@ extends:
2626 name : 1es-pool-azfunc-public
2727 image : 1es-windows-2022
2828 os : windows
29-
29+ ${{ if eq( variables['Build.Reason'], 'Schedule' ) }} :
30+ demands :
31+ - Priority -equals Low
32+
3033 stages :
3134 - stage : WindowsUnitTests
3235 dependsOn : []
You can’t perform that action at this time.
0 commit comments