I've a very large cvs module, but the build in question only needs one
top-level folder of the whole module (which has around 10 total top
level folders). I've configured TeamCity to only include the one top
level folder** and it currently spends 40 minutes doing the initial
"Checking for changes" step.
: Checking for changes
: Building in c:\TeamCity\buildAgent\...
I actually think it hangs or something, because if I try to cancel
during this 40 minutes, the cancellation also hangs. I haven't the
patience to see how long the cancellation takes. (Seems I need to
restart the Agent service to get things going again).
After it's done checking for changes (I guess TeamCity times out? Dunno
- I've restarted TeamCity with log4j set to DEBUG level, but nothing in
the log files says what happens at this magical 40 minute timeout), the
build will continue on, and it will start to pull files normally, but
then mysteriously stop - it doesn't pull all the files it should, and
then of course the compile fails.
I've setup a separate project with TeamCity on the same CVSNT server,
much smaller (~10-20MB) and it works fine (we're running the latest
version of CVSNT - connecting through its extnt tool that handles the
sspi protocol for us - same way we do for Eclipse), so I know there's
nothing inherently wrong with our connectivity to CVSNT, though I
certainly don't know who's to blame in this current issue.
If there's anything I can do on my end with TeamCity to get better
diagnostic info, please let me know. Anything I can turn on to get a
dump of the raw CVS communications / maybe any error messages the CVS
server is returning - that'd be great.
explicitly say you can use a single inclusion rule:
to only include that one folder. The docs say:
-:PathName | Excludes PathName
+:VCSPath=>. | Maps the VCSPath...
and a third variation on mapping. It'd be nice, IMO, to have the docs
talk about the +: option without any mapping. I came away from the
initial read thinking the only way to get the one top level directory
was to exclude all the others. FWIW...