Skip to content

Commit e470ce4

Browse files
authored
Enhance Jenkins job trigger phrases (#7476)
* Remove temporary trigger phrases for kind jobs. * Prevent /test-all-features-conformance from incorrectly triggering all jobs. Signed-off-by: Shuyang Xin <[email protected]>
1 parent 6e0d8ba commit e470ce4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ci/jenkins/jobs/projects-cloud.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
- ${{sha1}}
5454
builders:
5555
- builder-e2e
56-
trigger_phrase: ^(?!Thanks for your PR).*/test-(e2e|all).*
56+
trigger_phrase: ^(?!Thanks for your PR).*/test-(e2e|all$).*
5757
white_list_target_branches: []
5858
allow_whitelist_orgs_as_admins: true
5959
admin_list: '{antrea_admin_list}'
@@ -126,7 +126,7 @@
126126
white_list: '{antrea_white_list}'
127127
only_trigger_phrase: true
128128
trigger_permit_all: false
129-
trigger_phrase: ^(?!Thanks for your PR).*/skip-(e2e|all).*
129+
trigger_phrase: ^(?!Thanks for your PR).*/skip-(e2e|all$).*
130130
white_list_target_branches: []
131131
status_context: jenkins-e2e
132132
status_url: --none--
@@ -171,7 +171,7 @@
171171
builders:
172172
- builder-conformance:
173173
conformance_type: 'conformance'
174-
trigger_phrase: ^(?!Thanks for your PR).*/test-(conformance|all).*
174+
trigger_phrase: ^(?!Thanks for your PR).*/test-(conformance|all$).*
175175
white_list_target_branches: []
176176
allow_whitelist_orgs_as_admins: true
177177
admin_list: '{antrea_admin_list}'
@@ -244,7 +244,7 @@
244244
white_list: '{antrea_white_list}'
245245
only_trigger_phrase: true
246246
trigger_permit_all: false
247-
trigger_phrase: ^(?!Thanks for your PR).*/skip-(conformance|all).*
247+
trigger_phrase: ^(?!Thanks for your PR).*/skip-(conformance|all$).*
248248
white_list_target_branches: []
249249
status_context: jenkins-conformance
250250
status_url: --none--
@@ -291,7 +291,7 @@
291291
builders:
292292
- builder-conformance:
293293
conformance_type: 'all-features-conformance'
294-
trigger_phrase: ^(?!Thanks for your PR).*/test-(all-features-conformance|all).*
294+
trigger_phrase: ^(?!Thanks for your PR).*/test-(all-features-conformance|all$).*
295295
white_list_target_branches: []
296296
allow_whitelist_orgs_as_admins: true
297297
admin_list: '{antrea_admin_list}'
@@ -349,7 +349,7 @@
349349
white_list: '{antrea_white_list}'
350350
only_trigger_phrase: true
351351
trigger_permit_all: false
352-
trigger_phrase: ^(?!Thanks for your PR).*/skip-(all-features-conformance|all).*
352+
trigger_phrase: ^(?!Thanks for your PR).*/skip-(all-features-conformance|all$).*
353353
white_list_target_branches: []
354354
status_context: jenkins-all-features-conformance
355355
status_url: --none--
@@ -487,7 +487,7 @@
487487
builders:
488488
- builder-conformance:
489489
conformance_type: 'networkpolicy'
490-
trigger_phrase: ^(?!Thanks for your PR).*/test-(networkpolicy|all).*
490+
trigger_phrase: ^(?!Thanks for your PR).*/test-(networkpolicy|all$).*
491491
white_list_target_branches: []
492492
allow_whitelist_orgs_as_admins: true
493493
admin_list: '{antrea_admin_list}'
@@ -560,7 +560,7 @@
560560
white_list: '{antrea_white_list}'
561561
only_trigger_phrase: true
562562
trigger_permit_all: false
563-
trigger_phrase: ^(?!Thanks for your PR).*/skip-(networkpolicy|all).*
563+
trigger_phrase: ^(?!Thanks for your PR).*/skip-(networkpolicy|all$).*
564564
white_list_target_branches: []
565565
status_context: jenkins-networkpolicy
566566
status_url: --none--
@@ -1083,7 +1083,7 @@
10831083
- builder-e2e-kind:
10841084
ip_version: 'ipv4'
10851085
kind_cluster_name: '{test_name}'
1086-
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-e2e|kind-all|all).*
1086+
trigger_phrase: ^(?!Thanks for your PR).*/test-(e2e|all$).*
10871087
white_list_target_branches: []
10881088
allow_whitelist_orgs_as_admins: true
10891089
admin_list: '{antrea_admin_list}'
@@ -1123,7 +1123,7 @@
11231123
conformance_type: 'conformance'
11241124
ip_version: 'ipv4'
11251125
kind_cluster_name: '{test_name}'
1126-
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-conformance|kind-all|all).*
1126+
trigger_phrase: ^(?!Thanks for your PR).*/test-(conformance|all$).*
11271127
white_list_target_branches: []
11281128
allow_whitelist_orgs_as_admins: true
11291129
admin_list: '{antrea_admin_list}'
@@ -1163,7 +1163,7 @@
11631163
conformance_type: 'networkpolicy'
11641164
ip_version: 'ipv4'
11651165
kind_cluster_name: '{test_name}'
1166-
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-networkpolicy|kind-all|all).*
1166+
trigger_phrase: ^(?!Thanks for your PR).*/test-(networkpolicy|all$).*
11671167
white_list_target_branches: []
11681168
allow_whitelist_orgs_as_admins: true
11691169
admin_list: '{antrea_admin_list}'
@@ -1435,7 +1435,7 @@
14351435
conformance_type: 'all-features-conformance'
14361436
ip_version: 'ipv4'
14371437
kind_cluster_name: '{test_name}'
1438-
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-all-features-conformance|kind-all|all-features-conformance|all).*
1438+
trigger_phrase: ^(?!Thanks for your PR).*/test-(all-features-conformance|all$).*
14391439
white_list_target_branches: []
14401440
allow_whitelist_orgs_as_admins: true
14411441
admin_list: '{antrea_admin_list}'
@@ -1485,7 +1485,7 @@
14851485
conformance_type: 'whole-conformance'
14861486
ip_version: 'ipv4'
14871487
kind_cluster_name: '{test_name}'
1488-
trigger_phrase: ^(?!Thanks for your PR).*/test-(kind-whole-conformance|kind-all|whole-conformance|all).*
1488+
trigger_phrase: ^(?!Thanks for your PR).*/test-(whole-conformance|all$).*
14891489
white_list_target_branches: []
14901490
allow_whitelist_orgs_as_admins: true
14911491
admin_list: '{antrea_admin_list}'

0 commit comments

Comments
 (0)