If you only run a single Bamboo server (i.e. with no remote or elastic agents) and:
- you need to ensure that a plan's job cleanly checks out its source code when Bamboo next executes a build of that plan
- and you do not use the Force clean build option when linking to the source repository for a job
then you can simply delete the current working files for that job to ensure its source code is cleanly checked out.
To delete a job's current working files:
- Navigate to the job configuration, as described on Configuring jobs.
- Select the Other tab.
- Select Clean working directory after each build.