From f6bba721fd13ea784ba953dcc513c359fd0ed7ae Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 22 Feb 2017 16:36:12 +0000 Subject: [PATCH] jjb: infra: bifrost-cleanup-job: Do not trigger on patchset creation There are no logs to remove when a patchset is created. Change-Id: Ieae8e8e142d69f741d43e740371110ce13255436 Signed-off-by: Markos Chandras --- jjb/infra/bifrost-cleanup-job.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/jjb/infra/bifrost-cleanup-job.yml b/jjb/infra/bifrost-cleanup-job.yml index 9f5f9e941..0ee906f73 100644 --- a/jjb/infra/bifrost-cleanup-job.yml +++ b/jjb/infra/bifrost-cleanup-job.yml @@ -86,13 +86,8 @@ server-name: 'review.openstack.org' escape-quotes: true trigger-on: - - patchset-created-event: - exclude-drafts: 'false' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'false' - - patchset-uploaded-event: 'false' - # We only run this when the change is merged since - # we don't need the logs anymore + # We only run this when the change is merged or + # abandoned since we don't need the logs anymore - change-merged-event: 'true' - change-abandoned-event: 'true' - change-restored-event: 'false' @@ -119,13 +114,8 @@ - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - - patchset-created-event: - exclude-drafts: 'false' - exclude-trivial-rebase: 'false' - exclude-no-code-change: 'false' - - patchset-uploaded-event: 'false' - # We only run this when the change is merged since - # we don't need the logs anymore + # We only run this when the change is merged or + # abandoned since we don't need the logs anymore - change-merged-event: 'true' - change-abandoned-event: 'true' - change-restored-event: 'false' -- 2.16.6