Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

bamboo different force clean build option and clean working directory task


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?


Also, I wonder if the Clean working directory after each build option on the other tab is the best way to erase the build-dir workspace after build.

Thank you.

1 answer

1 accepted

1 vote
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 24, 2022

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-- 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events