summaryrefslogtreecommitdiffstats
path: root/jjb/infra
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-02-22 16:36:12 +0000
committerAric Gardner <agardner@linuxfoundation.org>2017-02-27 21:59:49 +0000
commitf6bba721fd13ea784ba953dcc513c359fd0ed7ae (patch)
tree3a89aca15f9bfa19e8e805d80e0182b379a461bd /jjb/infra
parent960805b76699c6937473c770ba79988c1c590a9f (diff)
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 <mchandras@suse.de>
Diffstat (limited to 'jjb/infra')
-rw-r--r--jjb/infra/bifrost-cleanup-job.yml18
1 files 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'