Tuesday, November 29, 2011

Fixing Stuck Builds in TFS 2010

Sometimes builds will get stuck in TFS 2010 and no build with a priority of "Normal" will build. You'll find that you have to change to priority to something higher in order to actually trigger the build. This usually happens because of an unhandled build failure on a build with "Normal" priority. TFS thinks there is another "Normal" build ahead in the queue, and therefore holds off on building your new request.

So how do you fix it? This requires going into the database. Open that database for the collection that is having the problem and look in the tbl_BuildQueue table. Check the Status column in this table. Anything with a "2" means it is still queued (and therefore blocking any new builds). Change these to a "16", which means "Cancelled". That should fix your problem!

4 comments:

  1. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. I hope you post again soon. Big thanks for the useful info. Design Builder Auckland

    ReplyDelete
  2. Great job for publishing such a nice article. Your article isn’t only useful but it is additionally really informative. Thank you because you have been willing to share information with us. sheds installation in warkworth

    ReplyDelete
  3. The delightful article you have posted here. This is a good way to increase our knowledge.builder dublin Continue sharing this kind of articles, Thank you.

    ReplyDelete
  4. These suggest that you should wager quite a few times for every winning spin or deposit quantity. Wager phrases have a multiplier connected to them, such as 코인카지노 20x, 35x, and so on. In fact, chances are that you'll to|that you will} always discover some free spins up for grabs unless you are unlucky sufficient to discover a no bonus operator.

    ReplyDelete