From: Fatih Degirmenci Date: Fri, 8 Feb 2019 11:07:36 +0000 (+0100) Subject: Change project-compare-type in Gerrit Trigger to REG_EXP X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F356%2F2;p=infra%2Fcicd.git Change project-compare-type in Gerrit Trigger to REG_EXP There will be situations where patches for multiple projects are needed to be verified by common jobs. This change makes it possible to achieve this by using REG_EXP inproject-compare-type. One can specify the projects with a trigger like below triggers: - nordix-gerrit-trigger-patchset-created: project: 'projectA|projectB\/subprojectB' Change-Id: Iec99a3dddc9505b862a5eeb197064d8f5cbd5be7 Signed-off-by: Fatih Degirmenci --- diff --git a/jjb/global/jjb-macros.yaml b/jjb/global/jjb-macros.yaml index f19761d7..dd5f73da 100644 --- a/jjb/global/jjb-macros.yaml +++ b/jjb/global/jjb-macros.yaml @@ -124,7 +124,7 @@ - comment-added-contains-event: comment-contains-value: 'reverify' projects: - - project-compare-type: 'ANT' + - project-compare-type: 'REG_EXP' project-pattern: '{project}' branches: - branch-compare-type: 'ANT'