# Stop build without cleaning up source

**URL:** https://www.finalbuilder.com/forums/t/stop-build-without-cleaning-up-source/4963
**Category:** Discussion
**Created:** [April 24, 2013, 5:28am UTC](https://www.finalbuilder.com/forums/t/stop-build-without-cleaning-up-source/4963 "2013-04-24T05:28:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![seankearon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/seankearon/32/112_2.png) [@seankearon](https://www.finalbuilder.com/forums/u/seankearon)
#### Post date: [April 24, 2013, 5:28am UTC](https://www.finalbuilder.com/forums/t/stop-build-without-cleaning-up-source/4963/1 "2013-04-24T05:28:20Z")

</div>

How would I stop a build but leave the source files in place on the server?

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 25, 2013, 2:34am UTC](https://www.finalbuilder.com/forums/t/stop-build-without-cleaning-up-source/4963/2 "2013-04-25T02:34:44Z")

</div>

The files in the server workspace only get cleaned up by the cleanup policy, the files on the agent are cleaned up when the build completes successfully. If the build fails, the agent workspace is left alone and will be removed when the server workspace is removed.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [April 25, 2013, 2:35am UTC](https://www.finalbuilder.com/forums/t/stop-build-without-cleaning-up-source/4963/3 "2013-04-25T02:35:11Z")

</div>

I would have to check, not sure what happens when you manually stop a build.
