Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Post Pipeline Cleanup
Post Pipeline Cleanup

Post Pipeline Cleanup

Foxholenl

|
2 installs
| (0) | Free
This extension provides the ability to clean up the agent work directory after a job.
This extension is now unpublished from Marketplace. You can choose to uninstall it.

Post Pipeline Cleanup

This is a shameless copy of the Post Build Cleanup provided by Microsoft Premier Services. If Microsoft has problems with this extension I will remove it.

The problem with the Post Build Cleanup is that it gets the clean settings from the Build/Pipeline settings, demanding that every Pipeline has set this setting and that the 'Post Build Cleanup' task is included in every pipeline. This means that it requires altering every pipeline.

This task is ment to be included inside a pipline decorator meaning that it will be included for every job as the last step, cleaning up the agent after the job.

So:

  • If you use self-hosted-agents
  • If you don't want to alter every pipeline/build in your organization
  • If you have frequent free space issues on your self-hosted-agents

This task can help you out cleaning up after every job.

How to build a decorator

See the Microsoft page to do this.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft