Reputation: 707
Jenkins has 12 different workspaces which take around 25gb.I think the problem is because in every workspace there is a copy from GIT repository which is 3gb.
Does anybody know why Jenkins is using different workspaces and why on every workspace Jenkins has a copy from the git repo ?
Probably not of the workspaces are in used. Is there a way to check which of them can be deleted ?
Upvotes: 0
Views: 306
Reputation: 6458
Jenkins is not creating a new folder for each build by default unless running in parallel, but if you have 12 different jobs, it creates at least one folder for each job.
Anyway, you can delete a workspace at the start and delete it also by the end of the build (better do it only if build went ok since if it fails you may want to see the content of the folder for debugging needs).
Also, for each job, you can set the number of builds to keep or the number of days to keep, so this can reduce the number of builds.
Upvotes: 0
Reputation: 4874
Two questions, two answers:
Upvotes: 1