Change in jenkins[master]: Added workspace cleanup job

dcaroest at redhat.com dcaroest at redhat.com
Mon Nov 24 15:40:20 UTC 2014


David Caro has submitted this change and it was merged.

Change subject: Added workspace cleanup job
......................................................................


Added workspace cleanup job

Removes all the workspaces from all the slaves (even offline ones) that are not
currently used by any job.

It also cheks that there are no stalled mounts on the workspace and tries to
umount before deleting.

Added also a nice summary in case some of them failed to cleanup.

Change-Id: I97ad249a432129ca0f8b176d9fa8dbe6b1bfb5b5
Signed-off-by: David Caro <dcaroest at redhat.com>
---
A jobs/confs/groovy-scripts/cleanup_workspaces.groovy
A jobs/confs/groovy-scripts/cleanup_workspaces.postbuild.groovy
A jobs/confs/yaml/jobs/system/system_cleanup-workspaces.yaml
3 files changed, 202 insertions(+), 0 deletions(-)

Approvals:
  David Caro: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I97ad249a432129ca0f8b176d9fa8dbe6b1bfb5b5
Gerrit-PatchSet: 6
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren at redhat.com>
Gerrit-Reviewer: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Paz Dangur <pdangur at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list