From 0d552129fe0fd39a8aa6346dc139af3d82e98513 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 20 Apr 2017 00:04:43 -0400 Subject: [PATCH] Fix Gerrit Trigger comment regex Gerrit comments also contain Patch Set #: so the regex would need to be slightly more complex if we want to be precise. Let's stick with a comment ending in the keyword instead. It get's us most of the way there. Change-Id: Ib1209c5685f41ba0b287d6b32261e870fee1e27c Signed-off-by: Thanh Ha --- jjb/lf-ci-jobs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 6a3b6b12..722b5bcb 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -91,7 +91,7 @@ trigger-on: - change-merged-event - comment-added-contains-event: - comment-contains-value: ^remerge$ + comment-contains-value: remerge$ projects: - project-compare-type: ANT project-pattern: '{project}' @@ -162,7 +162,7 @@ exclude-no-code-change: false - draft-published-event - comment-added-contains-event: - comment-contains-value: ^recheck$ + comment-contains-value: recheck$ projects: - project-compare-type: ANT project-pattern: '{project}' -- 2.16.6