Skip to content

Commit 2ae9699

Browse files
authored
Set low priority for scheduled runs (#659)
1 parent 9760b30 commit 2ae9699

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines/official-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ schedules:
1111
# Build nightly to catch any new CVEs and report SDL often.
1212
# We are also required to generated CodeQL reports weekly, so this
1313
# helps us meet that.
14-
- cron: "0 0 * * *"
14+
- cron: "0 6 * * *"
1515
displayName: Nightly Build
1616
branches:
1717
include:
@@ -32,6 +32,9 @@ extends:
3232
name: 1es-pool-azfunc
3333
image: 1es-windows-2022
3434
os: windows
35+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
36+
demands:
37+
- Priority -equals Low
3538

3639
stages:
3740
- stage: WindowsUnitTests

0 commit comments

Comments
 (0)