Skip to content

Commit

Permalink
[ci] Improve azp trigger settings to automaticlly support new release…
Browse files Browse the repository at this point in the history
… branch. (sonic-net#2289)

Signed-off-by: Shilong Liu <[email protected]>
  • Loading branch information
liushilongbuaa authored May 26, 2022
1 parent 0e5e7ba commit 2f13244
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,29 @@
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc

pr:
- master
- 202???
- 201???

trigger:
batch: true
branches:
include:
- master
- 202???
- 201???

# this part need to be set in UI
schedules:
- cron: "0 0 * * 6"
displayName: Weekly build
branches:
include:
- "*"
- master
- 202???
- 201???
always: true

stages:
- stage: Build
Expand Down

0 comments on commit 2f13244

Please sign in to comment.