Skip to content

Clear the work folder after each build? #708

@jsauvexamarin

Description

@jsauvexamarin

Agent version and platform

2.11.0


OS X 10.11.6

VSTS type and version

VisualStudio.com


devops-mobile.visualstudio.com

What's not working?

I'd like to know if there'a a way to clear the _work folder after each build. My MacInCloud build server only has 100GB of drive space. With the OS and all the dev tools, I'm at 40GB free. I burn through that 40GB by doing builds in under 24 hours. I run 8 VSTS agents on that machine, and the _work folder of each spawns around 8 subfolders over time. I have Build.Clean set to all in my build definition variables, but the _work folders still remain very full, filling up my disk in very little time.

Is there some way to command the agent to clear its work folder after each build?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions