I have an issue with Team City 8.0.3 (build 27540) hanging on a secondary build step that pushes changes to a remote repository. I can't locate any information that gives me insight into what's wrong.
The VCS is setup via SSH, using the default private key, and checkout mode is set to automatically on agent.
Source is checked into a "repositoryPath" via a checkout rule.
Build step runs git commands from the working directory of "repositoryPath".
Here is the build log from the second step that runs the commit:
Step 2/2: Commit dlls (Command Line) (running for 1m:09s)
[16:46:51][Step 2/2] Starting: C:\TeamCity\buildAgent\temp\agentTmp\custom_script5045114249582743499.cmd
[16:46:51][Step 2/2] in directory: C:\TeamCity\buildAgent\work\8df15579b05cdb68\repositoryPath
[16:46:51][Step 2/2] [master 9fa24ba] Teamcity update
[16:46:51][Step 2/2] 1 file changed, 0 insertions(+), 0 deletions(-)
*** HANGS HERE ***
Here is the git push command line step:
"%env.TEAMCITY_GIT_PATH%" add .
"%env.TEAMCITY_GIT_PATH%" commit -m "Teamcity update"
"%env.TEAMCITY_GIT_PATH%" push
If I drop to the the Team City work directory, I notice that the commit has taken, but hasn't been pushed. If I attempt a git push
, it goes off without any problem.
I would be happy to furnish further detail if it would help.