AFAIK there isn't any feature so far in GoCD. We currently use custom script to delete all the other pipelines on an Agent by running a cleanup pipeline periodically. Since each agent is exclusive to a pipeline run, you can safely delete all the other pipelines in the working directory via the cleanup pipeline without breaking any builds / deployment.
Thanks, On Fri, Mar 5, 2021 at 11:13 PM Joel Bodenmann <tect...@gmail.com> wrote: > Is there (by now) a feature available that allows to configure either on a > per-agent or a per-pipeline level the behavior that a pipeline directory is > automatically removed from the agent after finishting the pipeline job (in > all cases, not just on success)? > > I believe that this older thread is asking for the same: > https://groups.google.com/g/go-cd/c/fhlYvVcg5H4 > > > Best regards, > ~ Joel > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to go-cd+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/a1f351e5-c717-4153-be6e-7a1cfd77aa2dn%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/a1f351e5-c717-4153-be6e-7a1cfd77aa2dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Ashwanth Kumar / ashwanthkumar.in -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAD9m7CyAA2KDF6RArtqH-fN1m8og73rzK3g2JQ-nDhWJBsHE4g%40mail.gmail.com.