Occasionally Git agent checkout fails

Occasionally the Git agent fails to check out our source code and then the build just fails. The very next run of the build will often pass, but every once in a while it fails to check out the source. Unfortunately all of the builds that have failed in the past were deleted so I can't find the error messages right now but will post them once it happens again.

What I need to know is either how to fix it, or how to requeue a build automatically when it fails to check out for some reason.

4 comments
Comment actions Permalink

I'm still seeing this issue occasionally, the latest error is pasted below.

Failed to collect changes, error: List remote refs failed: com.jcraft.jsch.JSchException: verify: false

0
Comment actions Permalink

Chris, sorry for late reply. Please attach teamcity-vcs.log(s) from the server to the thread or send them to teamcity-feedback@jetbrains.com.

0
Comment actions Permalink

is there an easy way to find the relevent portion of the vcs log for the agent? I can't find any timestamps or errors with build numbers in them that match the builds that are failing.

0
Comment actions Permalink

Actually teamcity-vcs.log has timestamps so you can match relevant log entries by date.

0

Please sign in to leave a comment.