VCS settings preventing build reusing
Hi all,
I've encountered a problem moving a build configuration template from one project to another. A build configuration using this template now has a server health warning:
<build configuration> has snapshot dependency on <dependency> with suitable builds reusing enabled, but settings of the following VCS roots prevent builds reusing:
<VCS root>
The only real difference between the old and new VCS depots is that (Perforce) we moved from a non-streamed to a streamed depot. The error message is rather cryptic, and going to the recommended help page (https://confluence.jetbrains.com/display/TCD9/Snapshot%20Dependencies#SnapshotDependencies-SuitableBuilds) reveals that for Perforce:
-
Perforce: Stream or Client connection settings, or label is specified in Label/revision to checkout option
We don't use labels, and what specifically about the connection settings is TC concerned with? We're using 9.1.4.
Does anybody know how to either go about fixing this or getting more debugging information out of it?
Thanks for the help,
Gav
Please sign in to leave a comment.
Hello Kan,
Do you use streams in this Perforce VCS root? It's not possible to use "suitable builds" for Perforce VCS root root with Streams or Clients, because you can perform changes in stream or client, while the revision won't be changed and TeamCity won't know about it. So in rare cases, this may result in using the wrong revision for the build.
Hi Alina,
This is a Streamed depot, so we do use streams in this VCS root.
Okay, I understand it makes sense.
Thank you for your time,
Gavin.