Skip to content

Commit b801918

Browse files
authored
Set low priority for scheduled runs (#103)
This PR sets the Priority for scheduled pipeline runs to be low. This is part of an effort to reduce the daily deadlock that we are facing with our various pipelines. It also reschedules these pipeline runs to 6am UTC.
1 parent 0992233 commit b801918

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/ci/official-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ schedules:
1414
# Build nightly to catch any new CVEs and report SDL often.
1515
# We are also required to generated CodeQL reports weekly, so this
1616
# helps us meet that.
17-
- cron: "0 0 * * *"
17+
- cron: "0 6 * * *"
1818
displayName: Nightly Build
1919
branches:
2020
include:
@@ -39,6 +39,9 @@ extends:
3939
name: 1es-pool-azfunc
4040
image: 1es-windows-2022
4141
os: windows
42+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
43+
demands:
44+
- Priority -equals Low
4245

4346
stages:
4447
- stage: BuildAndSign

0 commit comments

Comments
 (0)