I'm not sure if this is a bug or not - not sure what to expect.
We had a problem last night with our build, and it was only failing in
TeamCity's agent. A dev got on the agent, into its working folder and
opened the .sln file in Visual Studio right from there to tinker around.
In doing so, he did a Debug build, TeamCity is configured to do a
After resolving the problem, we still had Debug output folders leftover,
and got some duplicate test assemblies that were run. So, I realized the
problem, and marked the build to run clean the next time out. But on the
next build, none of the Debug output folders were removed - it looked
like the Agent re-used the same working folder and everything.
So ... what should I expect clean to do? (maybe it just does a clean
pull but won't remove artifact folders?)