We have a lot of pipelines and some agents are configured to run a many of the jobs within the pipelines. The result of this is there may be hundreds of pipeline job execution folders on each agent machine.
One problem we are seeing is that some of the pipeline jobs use lots of disk space and there does not seem to be a way of cleaning them up.
I am aware of the "Clean working directory" checkbox however as I understand it, that cleans the working directory before the job runs.
What I really need is something to clean the working directory after the job has completed to reduce the impact on the disk space being used.
Does such a thing exist in GO or do I have to write some custom scripts to do this?
Thanks
Carl