Use regex to match TestON branches in QA-check-style job
Change-Id: I68e523351de172256609f18a28a563aaf1cd8bc5
diff --git a/jjb/OnosSystemTest/onos-test-freestyle.yaml b/jjb/OnosSystemTest/onos-test-freestyle.yaml
index 7dd9b9f..c59c458 100644
--- a/jjb/OnosSystemTest/onos-test-freestyle.yaml
+++ b/jjb/OnosSystemTest/onos-test-freestyle.yaml
@@ -231,10 +231,8 @@
- project-compare-type: PLAIN
project-pattern: '{project}'
branches:
- - branch-compare-type: ANT
- branch-pattern: '**/master'
- - branch-compare-type: ANT
- branch-pattern: '**/onos-1.[11-20]'
+ - branch-compare-type: REG_EXP
+ branch-pattern: '(master|onos-1.(1[3-9]|[2-9][0-9]))'
wrappers:
- lf-infra-wrappers:
build-timeout: 1800