Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Discovering "hanging" builds with TeamCity

DZone's Guide to

Discovering "hanging" builds with TeamCity

·
Free Resource

A Hanging Build is a pain that we've all experienced more than once, and the most frustrating part about it is that you often can't detect the problem at an early stage, especially when you're taking advantage of the continuous integration process.

We've been running into the same problem. We have a huge number of builds being run every single second of the day, 24/7, and when even a few of them hang, it can be a big bottleneck. We like to think that common problems should be taken care of by our toolset, so naturally we've added a Hanging Build Detector to the latest version of TeamCity. It's been a real time-saver for us.

Having detected a possible hang, TeamCity reports it instantly, so you can review the details, even including the thread dump, on the web:

[img_assist|nid=383|title=|desc=|link=none|align=left|width=554|height=332]

 

 

 

 

 

 

 

 

 

 

 

But you don't want to spend all of your precious time in the web client, so you can configure TeamCity to notify you in other ways about the probability of a hanging build:

[img_assist|nid=384|title=|desc=|link=none|align=left|width=243|height=256]

 

 

 

 

 

 

 

 

 

Overall, you get to keep coding without worries about potential hanging builds. And that's the way we like it -- Especially when you've got to meet a tough timeframe.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}