This repository was archived by the owner on Nov 9, 2017. It is now read-only.
wipe out workspace before deleting jobs#42
Open
denmarkin wants to merge 15 commits intoentagen:masterfrom
Open
wipe out workspace before deleting jobs#42denmarkin wants to merge 15 commits intoentagen:masterfrom
denmarkin wants to merge 15 commits intoentagen:masterfrom
Conversation
Contributor
|
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! |
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. |
…ches with the same name but different case
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).