Clean Sources
Last modified: 20 April 2023Cleaning sources means that the previous project sources are deleted from the build agent and new project sources are checked out, when the next build of the selected build configuration is created on the agent. Cleaning sources is recommended if problems occurred with the source code (for example, the sources may have been broken).
You can also enable automatic cleaning the project sources before a build starts, if you check the option Clean all files before build on the Create Edit Build Configuration> 1.General Settings page.
You can invoke clean sources action for a build configuration (the checkout directory corresponding to the build configuration will be cleaned on all the agents) from the Build Configuration page (see "Actions" drop-down in the top right corner), or for an agent (all checkout directories on the agent will be cleaned before the next build in the corresponding directory) from the Agent Details page.
Thanks for your feedback!