I have a problem with Team City 8.0.3 (build 27540) that hangs during the secondary build phase, which pushes changes to the remote repository. I canβt find any information that gives me an idea of ββwhat happened.
VCS is configured through SSH using the default private key, and the verification mode is set automatically on the agent.
The source is verified in "repositoryPath" through the validation rule.
At the build stage, git commands from the repositoryPath working directory are run.
Here is the build log from the second step executing 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 command line step:
"%env.TEAMCITY_GIT_PATH%" add . "%env.TEAMCITY_GIT_PATH%" commit -m "Teamcity update" "%env.TEAMCITY_GIT_PATH%" push
If I go to the Team City working directory, I noticed that the commit was completed, but was not pressed. If I try to execute git push , it will shut down without any problems.
I would be happy to provide further details if this helps.
source share