I ran into a problem where a build configruation started failing due to the files in the VCS's not being in the build agent work directory. I have spent hours debugging this and tried the following:
- 'clean sources on this agent' http://confluence.jetbrains.net/display/TCD7/Clean+Checkout
- Removing the 'system\caches' folder on the server
- restarted the server
- 'Copy' the build configuration
- Add a second, benign VCS
- rebooted the build agent
- recreate the build configuration and incrementaly find where it fails
Item #7 yielded a helpful result where once I marked the artificat dependency with 'clean destination paths before downloading artifacts' the VCS source files were no longer in the work directory. Unchecking this setting does not resolve the problem.
[Update] Turns out the debug stated here was not conclusive; in some cases it was working on a different build agent. Either way, since the VCS is SVN the workaround was to update the 'VCS checkout mode' to 'automatically on agent'
At this point I need to manually create a build configuration and use that, as the others seem to be corrupt in some way.
Any idea to what is going on?