Hi
I wondering different force clean build option and clean working directory task in bamboo.
What's the difference between clearing the workspace and checking out the source again before build both options?
Is the difference that the force clean build option is used only in the task where the source is checked out, and the clean workspace task can adjust the task order arbitrarily?
Thank you.
Hello @JooHyun Park
When you clean the working space after a build or before starting a new Job, Bamboo will delete everything that was generated by the last run, including downloaded files and created files -- That includes binaries, accessory files, temporary content, etc.
By checking out the source code you have no means to guarantee that any content that is still available from previous builds in the folder will be deleted.
Bamboo leaves the content there to help developers troubleshoot any build issues, otherwise, it would be hard to figure out what happened after a failed build without proper evidence.
You can choose to delete the content before or after each build, the decision on which method will depend if you need the build content to be available in case of any required troubleshooting, as stated in the previous paragraph.
Thank you,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.