summaryrefslogtreecommitdiffstats
path: root/jjb/infra
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/infra')
-rw-r--r--jjb/infra/bifrost-cleanup-job.yml20
1 files changed, 5 insertions, 15 deletions
diff --git a/jjb/infra/bifrost-cleanup-job.yml b/jjb/infra/bifrost-cleanup-job.yml
index 6b761eea3..f1b38ca4b 100644
--- a/jjb/infra/bifrost-cleanup-job.yml
+++ b/jjb/infra/bifrost-cleanup-job.yml
@@ -67,7 +67,7 @@
fi
# No force (-f). We always verify upstream jobs so if there are no logs
# something else went wrong and we need to break immediately and investigate
- gsutil rm -r $BIFROST_GS_URL
+ gsutil -m rm -r $BIFROST_GS_URL
triggers:
- '{project}-gerrit-trigger-cleanup':
@@ -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'