From 812f85c71d978476526851cec7612b99bd487b36 Mon Sep 17 00:00:00 2001 From: Jeremy Phelps Date: Mon, 6 Nov 2017 10:52:42 -0600 Subject: Fix comment triggers to be strict Comment triggers stuck in a loop since some jobs contain "remove-artifacts" in the job name. Made the matching strict. Change-Id: Icaeb4a9db2a128ea00e0b3e775fe7c9fa52ff2a7 Signed-off-by: Jeremy Phelps --- jjb/ci-management/ci-management.yaml | 2 +- jjb/global-macros.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jjb/ci-management/ci-management.yaml b/jjb/ci-management/ci-management.yaml index 5407073f..75ab030f 100644 --- a/jjb/ci-management/ci-management.yaml +++ b/jjb/ci-management/ci-management.yaml @@ -181,7 +181,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: '{name}' diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 19a794b0..9095bcd7 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -257,7 +257,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: '{name}' @@ -273,7 +273,7 @@ trigger-on: - change-abandoned-event - comment-added-contains-event: - comment-contains-value: 'remove-artifacts' + comment-contains-value: 'remove-artifacts$' projects: - project-compare-type: 'ANT' project-pattern: '{name}' @@ -328,7 +328,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: '{name}' @@ -346,9 +346,9 @@ - change-merged-event - change-abandoned-event - comment-added-contains-event: - comment-contains-value: 'remove-artifacts' + comment-contains-value: 'remove-artifacts$' - comment-added-contains-event: - comment-contains-value: 'remerge' + comment-contains-value: 'remerge$' projects: - project-compare-type: 'ANT' project-pattern: '{name}' -- cgit 1.2.3-korg