VCS Checkouts

I'm playing around with some different ways of setting up our build chain, and noticed a big runtime difference in some of the builds that were doing similar things.

It came down to the fact that some of the builds were taking 40 minutes on the VCS checkout, while others were only taking 20 minutes.

build 1

[07:20:00]: Skip checking for changes - changes are already collected
[07:19:59]: Clean build enabled: removing old files from C:\BuildAgent\work\78010e18341ccf89
[07:19:59]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[07:19:59]: Checkout directory: C:\BuildAgent\work\78010e18341ccf89
[07:19:59]: Updating sources: agent side checkout... (20m:42s)

build 2

[07:50:50]: Checking for changes
[07:50:51]: Clean build enabled: removing old files from C:\BuildAgent\work\78010e18341ccf89
[07:50:51]: Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[07:50:51]: Checkout directory: C:\BuildAgent\work\78010e18341ccf89

[07:50:51]: Updating sources: agent side checkout... (40m)


They are both set to "Clean all files before build", but I see that the first one has "changes are already collected", while the 2nd doesn't.  I didn't find any documentation explaining this.  My guess was that it's possibly because the first one is set up as a snapshot dependency?  I'd just like to know because the whole reason I'm switching up our build chain is to improve build times, and the 40 minute update kills that.
1 comment
Comment actions Permalink

Hi Eric

Could you post full build log and teamcity-vcs.log please.

Thanks

0

Please sign in to leave a comment.