Perforce not syncing for build events

Hi,

I'm a new TC5.0 user, running Win2008R2 as my build server and build agent host.

In my VCS settings, I've set up 'Client mapping' as '//depot/... //team-city-agent/depot/...'.

When I make a change to a source file and perform a check-in, I see the change list and changed files in my TC project's 'Changes', but the files used to perform the actual build are NEVER updated.

The 'Checkout directory' property has been left blank.  Also the 'Clean All Files Before Build' option is enabled, and my p4.exe path is correct.  Everything looks correct, except for the actual results of the build...

Help please?

Best regards,

David Montgomery

5 comments
Comment actions Permalink

David,

Coul you please provide  teamcity-agent.log?

0
Comment actions Permalink

Hi Marina,

Our teamcity-agent.log file is attached.

Best regards,

David Montgomery



Attachment(s):
teamcity-agent.log.zip
0
Comment actions Permalink

Hi Marina,

I don't see any errors in the agent log.  Do you see any problems?

Best Regards,

David Montgomery

0
Comment actions Permalink

Please attach <server>/logs/teamcity-vcs.log file and perforce vcs root settings screenshot.
Do you use checkout rules? If yes, please attach checkout rules settings too.

If you use TeamCity 4.5.x, please check if broken files were readonly or unaccessible for build agent process.

0
Comment actions Permalink

Hello Eugene,

Thank you for the response.

I just found the answer, though.  It was a setting 'Runner: sln2008 > Solution File Path'.

I had set this directory path as an absolute path to the Perforce root directory on the build machine, and not to a relative path to the temporary build directory.

After reading through the log files and watching the build process several times as it happened finally clued me in...

Best,

David Montgomery

0

Please sign in to leave a comment.