Scheduled Build not getting all files from VSS

If I trigger a build it all works correctly, however if the Scheduler triggers a build it does not seem to get all the files from VSS. I have clean checkout directory turned on, so I am not sure how it determines the patch for the VSS root.

Does anyone have any suggestions on how I can get it to always get all files, and create a new patch each time?

I have put the start of two build logs below, as you can see the first one has the correct 249mb, whereas the second only transfers 2MB. The files it doesn't get from VSS seem sporadic and not in relation to what has changed.

Manual Trigger
[23:57:49]: Checking for changes
[00:09:04]: Clean build enabled: removing old files from C:\Builds\Ab 2.0
[00:09:04]: Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp
[00:09:05]: Checkout directory: C:\Builds\Ab 2.0
[00:09:05]: Updating sources: server side checkout... (24m:53s)
[00:09:05]: [Updating sources: server side checkout...] Will perform clean checkout
[00:09:05]: [Updating sources: server side checkout...] Clean checkout reasons
[00:09:05]: [Clean checkout reasons] Checkout directory is empty or doesn't exist
[00:09:05]: [Clean checkout reasons] "Clean all files before build" turned on
[00:09:05]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: Ab 2.0
[00:09:42]: [Updating sources: server side checkout...] Building incremental patch over the cached patch
[00:31:50]: [Updating sources: server side checkout...] Transferring repository sources: 124.0Mb so far...
[00:32:18]: [Updating sources: server side checkout...] Repository sources transferred: 249.46Mb total
[00:32:18]: [Updating sources: server side checkout...] Average transfer speed: 183.40Kb per second

Triggered by the Scheduler
[07:45:01]: Checking for changes
[07:55:09]: Clean build enabled: removing old files from C:\Builds\Ab 2.0
[07:55:22]: Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp
[07:55:22]: Checkout directory: C:\Builds\Ab 2.0
[07:55:22]: Updating sources: server side checkout... (24m:24s)
[07:55:22]: [Updating sources: server side checkout...] Will perform clean checkout
[07:55:22]: [Updating sources: server side checkout...] Clean checkout reasons
[07:55:22]: [Clean checkout reasons] Checkout directory is empty or doesn't exist
[07:55:22]: [Clean checkout reasons] "Clean all files before build" turned on
[07:55:22]: [Updating sources: server side checkout...] Building clean patch for VCS root: Ab 2.0
[08:19:46]: [Updating sources: server side checkout...] Transferring cached clean patch for VCS root: Ab 2.0
[08:19:47]: [Updating sources: server side checkout...] Repository sources transferred: 2.01Mb total
8 comments

Hello Kate,

Sorry for the delay in replying.
What version of TeamCity do you use? Could you please attach a screenshot of your VCS configuration settings.

Thanks,
Marina.

0

Hi Marina,

Thanks for the response.

I am currently using 5.0.3 (build 10821).

I have attached a screenshot with my configuration settings.

Cheers,

Kate



Attachment(s):
TeamCityVCSSettings.jpg
0

Hello Kate,

Is this issue still actual and reproducible? Were there any changes in build configuration settings between two this triggers execution? What size are sources in this project?

Thanks,
Marina

0

Hellow


I have this problem too
I use Visual Source Safe and if TC settings  use not clear all data it not get check in files.
0

Please check the quiet period in VCS trigger. Try settings something like 5minutes or so. Unfortunately, VSS does not provide atomic chekins, thus it could turns out that TeamCity is trying to checkout sources at the moment of a commit.

Do you see changes in TeamCity that does not updated on the build agent? Could you share a database (or sample database) for us to analyze?

Nikolay, do you have clean-checkout checkbox checked in VCS root settings?

0

In my settings clean-checkout checkbox is unchecked in VCS root settings
and all my changes I see changes in TeamCity. But VSS do not update Checkout directory.
If I set clean-checkout checkbox at checked in VCS root settings all success, but process continues 10 minets, even if i checkin 1 file with size 1 KBytes

0

I see. Could you please share the database or provide VSS history or a history of your actions for me to reproduce the issue.
What is the version of VSS you (and all your team mates) use?

0

If I describe a sequence of actions that will be enough?

0

Please sign in to leave a comment.