Skip to content

Commit f8950ca

Browse files
committed
Merged PR 10592264: Add triggers for official OneBranch crossplat pipeline
In my previous PR, I forgot to define triggers and scheduled builds for the official OneBranch crossplat pipeline. This PR adds those.
1 parent d5520b8 commit f8950ca

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.pipelines/OneBranch.Official.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,22 @@
88
# Support: https://aka.ms/onebranchsup #
99
#################################################################################
1010

11-
trigger: none
11+
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)
12+
13+
# https://aka.ms/obpipelines/triggers
14+
trigger:
15+
batch: true
16+
branches:
17+
include:
18+
- main
19+
- publish
20+
21+
schedules:
22+
- cron: "0 8 * * *" # Daily at 8am UTC (midnight PST/1am PDT)
23+
displayName: Daily build
24+
branches:
25+
include:
26+
- main
1227

1328
variables:
1429
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning

0 commit comments

Comments
 (0)