From c4eac0c8447d445b01a48b366a2eef7390882eb5 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 8 Jun 2017 14:49:03 +0200 Subject: Rename -merge to -remove-artifacts and trigger also when change is abandoned MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0c4dde2c8ce02d2e0a89449ab3a12e7a84bff762 Signed-off-by: Jan-Simon Möller --- jjb/global-macros.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'jjb/global-macros.yaml') diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 4bb2563e..806e854c 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -262,6 +262,22 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' +- trigger: + name: gerrit-trigger-patch-abandoned + triggers: + - gerrit: + server-name: 'gerrit.automotivelinux.org' + trigger-on: + - change-abandoned-event + - comment-added-contains-event: + comment-contains-value: 'remove-artifacts' + projects: + - project-compare-type: 'ANT' + project-pattern: '{name}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + - trigger: name: gerrit-trigger-silent-patch-submitted triggers: -- cgit 1.2.3-korg