Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

wipe out workspace before deleting jobs #42

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

denmarkin
Copy link

We were running out of space very quickly leaving abandoned workspaces (workspace is not inside job folder, so it cannot be deleted automatically by simply deleting a job).

@jamesdh
Copy link
Contributor

jamesdh commented Mar 31, 2014

Hi Dennis,

Do you know if this solution works for cleaning up the workspace across multiple slaves? We currently have a different solution in place for doing this that is independent of Jenkins Build-Per-Branch, but if that API call can handle cleaning up all slaves as well, then I'll gladly merge this!

@denmarkin
Copy link
Author

Hi James,

unfortunately I don't have experience using slaves. Looking at https://issues.jenkins-ci.org/browse/JENKINS-4646, it seems like it's not implemented yet.

bmehanni and others added 10 commits August 3, 2014 09:03
Cleanup is kicked off as a separate build step in Jenkins.
Added script to create properties file for the cleanup job
FOX-6280:Remove feature prefix from this script
FOX-6280:Change feature branches to - not _
* FOX-6280:Only start build branches

* FOX-6280:Stop job while deleting branch

* FOX-6280: Refactor retry
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants