Teamcity UI show build hangs when run script!

We use Teamcity professional edition 3.1.2(build 6881)
When the script trigger a command which will run in backend.
After that, TeamCity UI shows that the build is hanging. Even after the command finished sucessfully, the UI still shows this buid is hanging.
Any ideas about this?

Thanks

5 comments
Comment actions Permalink

Hello,

   What happens if you simply run this command from the command line? If the script exits normally,
   TeamCity's build should not hang. Could you provide full build log for the problem?

   Regards,
   KIR

0
Comment actions Permalink

Thanks for your quick response.
It's ok when I just run the script under commond line mode, and the script exits normally.

0
Comment actions Permalink

Hello Gary,

  Could you please enable debug logs for build agent and send us teamcity-agent.log after build has hung.

  I'd also strongly suggest trying TeamCity 4.0, which was released today, and see whether the problem persists.

  Kind regards,
  KIR

0
Comment actions Permalink

Thanks you so much,
I will try it ASAP, and give your feedback!

Regards
Gary Xu

0
Comment actions Permalink

I tried as you sugggested, use Teamcity 4.0, it works fine:)

Thank you so much.

Regards
Gary Xu

0

Please sign in to leave a comment.