David Caro has uploaded a new change for review.

Change subject: Added gerrit garbage collecting job
......................................................................

Added gerrit garbage collecting job

Change-Id: I76bd689ac60ec949f491380a754205f6e99bd9f3
Signed-off-by: David Caro <dcaro...@redhat.com>
---
A jobs/confs/yaml/jobs/system_gerrit-garbage-collect.yaml
1 file changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/28/28828/1

diff --git a/jobs/confs/yaml/jobs/system_gerrit-garbage-collect.yaml 
b/jobs/confs/yaml/jobs/system_gerrit-garbage-collect.yaml
new file mode 100644
index 0000000..e3a3e22
--- /dev/null
+++ b/jobs/confs/yaml/jobs/system_gerrit-garbage-collect.yaml
@@ -0,0 +1,15 @@
+- job:
+  name: system_gerrit-garbage-collect
+  paramters:
+    - string:
+        name: PROJECTS
+        default: 'all'
+        description: 'space separated list of projects to garbage collect'
+  triggers:
+    - timed: "30 00 * * *"
+  builders:
+    - shell: |
+      #!/bin/bash -e
+      [[ "$PROJECTS" == "all" ]] && PROJECTS="--all"
+      ssh jenk...@gerrit.ovirt.org -p 29418 \
+          gerrit gc $PROJECTS


-- 
To view, visit http://gerrit.ovirt.org/28828
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76bd689ac60ec949f491380a754205f6e99bd9f3
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaro...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to