Skip to content

Commit

Permalink
Merged PR 10592264: Add triggers for official OneBranch crossplat pip…
Browse files Browse the repository at this point in the history
…eline

In my previous PR, I forgot to define triggers and scheduled builds for the official OneBranch crossplat pipeline. This PR adds those.
  • Loading branch information
mlindgren committed Apr 11, 2024
1 parent d5520b8 commit f8950ca
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .pipelines/OneBranch.Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@
# Support: https://aka.ms/onebranchsup #
#################################################################################

trigger: none
name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr)

# https://aka.ms/obpipelines/triggers
trigger:
batch: true
branches:
include:
- main
- publish

schedules:
- cron: "0 8 * * *" # Daily at 8am UTC (midnight PST/1am PDT)
displayName: Daily build
branches:
include:
- main

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

0 comments on commit f8950ca

Please sign in to comment.