Skip to content

Commit 2f13244

Browse files
[ci] Improve azp trigger settings to automaticlly support new release branch. (sonic-net#2289)
Signed-off-by: Shilong Liu <shilongliu@microsoft.com>
1 parent 0e5e7ba commit 2f13244

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

azure-pipelines.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,29 @@
33
# Add steps that publish test results, save build artifacts, deploy, and more:
44
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
55

6+
pr:
7+
- master
8+
- 202???
9+
- 201???
10+
611
trigger:
12+
batch: true
13+
branches:
14+
include:
15+
- master
16+
- 202???
17+
- 201???
18+
19+
# this part need to be set in UI
20+
schedules:
21+
- cron: "0 0 * * 6"
22+
displayName: Weekly build
723
branches:
824
include:
9-
- "*"
25+
- master
26+
- 202???
27+
- 201???
28+
always: true
1029

1130
stages:
1231
- stage: Build

0 commit comments

Comments
 (0)