diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2017-03-16 14:49:13 -0400 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2017-03-21 16:07:22 +0000 |
commit | aab72dd7c774290cc7529a2d5f823d89529945d3 (patch) | |
tree | e8f3788371ea01b30be0001e36cf167284181796 /jjb/xci/bifrost-cleanup-job.yml | |
parent | 28ade8d2219ee9acaf3bc0b14849918e80419aee (diff) |
jjb: xci: Fix trigger for cleanup jobs
Trigger should only run on change-merged and change-abandonded
The documentation could be imporved more explicitly here:
https://docs.openstack.org/infra/jenkins-job-builder/triggers.html#trigger-on
but the modified lines do not take true or false they stand alone
Fixes: ea33eda6954a ("jjb: infra: bifrost-cleanup-job: Do not trigger on new patchsets")
Fixes: f6bba721fd13 ("jjb: infra: bifrost-cleanup-job: Do not trigger on patchset creation")
Change-Id: Ibc574220ea86c5a039855d6f4fe35eef0aac7e0e
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/xci/bifrost-cleanup-job.yml')
-rw-r--r-- | jjb/xci/bifrost-cleanup-job.yml | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/jjb/xci/bifrost-cleanup-job.yml b/jjb/xci/bifrost-cleanup-job.yml index 571e275da..4e9e2a8d4 100644 --- a/jjb/xci/bifrost-cleanup-job.yml +++ b/jjb/xci/bifrost-cleanup-job.yml @@ -88,11 +88,8 @@ trigger-on: # We only run this when the change is merged or # abandoned since we don't need the logs anymore - - patchset-uploaded-event: 'false' - - change-merged-event: 'true' - - change-abandoned-event: 'true' - - change-restored-event: 'false' - - draft-published-event: 'false' + - change-merged-event + - change-abandoned-event # This is an OPNFV maintenance job. We don't want to provide # feedback on Gerrit silent: true @@ -119,11 +116,8 @@ trigger-on: # We only run this when the change is merged or # abandoned since we don't need the logs anymore - - patchset-uploaded-event: 'false' - - change-merged-event: 'true' - - change-abandoned-event: 'true' - - change-restored-event: 'false' - - draft-published-event: 'false' + - change-merged-event + - change-abandoned-event # This is an OPNFV maintenance job. We don't want to provide # feedback on Gerrit silent: true |