diff options
author | 2017-11-06 10:52:42 -0600 | |
---|---|---|
committer | 2017-11-06 11:09:28 -0600 | |
commit | 812f85c71d978476526851cec7612b99bd487b36 (patch) | |
tree | 7e86cf8b0b374a4c6e36ad6c63872d324392ea46 /jjb | |
parent | 033e1b5bd070faf384649a82514c2f42c1064b04 (diff) |
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 <jphelps@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/ci-management/ci-management.yaml | 2 | ||||
-rw-r--r-- | 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}' |