You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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 @Levi 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.