English 中文(简体)
TFS2010年建构点有时会建立多种发展障碍,有时不是——逻辑是什么?
原标题:TFS2010 build queue sometimes has multiple InProgress builds and sometimes not - what is the logic?
  • 时间:2012-04-20 17:06:34
  •  标签:
  • tfs
  • tfsbuild

我的相当规模的项目使用门槛值,其过程模板(XAML)高度集中。 由于这一问题范围外的原因,我们的进程只有一个共同资源范围,因此,如此多的建筑并不平行(我知道你本应做的是具有紧迫范围的工作,但我们在中间转用代理人,把所有东西都与共享资源范围结合起来)。

现在,如果在座有几张支票,所有支票都进入“进步”状态,除一人外,还等待共享的ResourceScope。 这意味着:

  • People can t know which build is actually running
  • Even if I set a new queued check-in to be high-priority, it can t overtake all those who are in progress and waiting on SharedResourceScope, so the whole priority setting has little meaning.

我利用DefaultProcessTemplate进行了试验。 XAML,我认为通常只有一个建筑是“进步”(尽管我有时看到2座建筑)。

问题:

  1. 究竟是何时才开始建设,因此又进入“进展”模式? 是什么因素阻止了所有建筑立即开工,阻止了信使/共享资源范围?

  2. 我能否在我的XAML中提出,阻止所有建筑取得进展?

最佳回答

A build starts when the build controller has capacity to start a new build. Since builds can use 0 to n agents, the controller doesn t wait to get an agent before the build starts. The controller determines its capacity based on the "Maximum number of concurrent builds" setting on the controller properties (in code: MaxConcurrentBuilds). Default setting: "Default to number of agents".

在XAML中没有任何办法控制这种行为。

另外,在2010年TFS中,有一例关于这一热点:KB2567437

问题回答




相关问题
Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Get files from TFS under Linux [closed]

is there a free (command line) tool for linux which with I can get all files from a TFS-Repository (no Check in / Check out required - only get actual version)?

upgrading tfs 2008 sp1 to use sql server 2008

I have an instance of tfs 2008 supported by sql server 2005. I want to change the sql server machine by doing a restore based move. I also want to change the version of sql server to 2008. I know ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

TFSReg in 2010 Beta 2?

does anybody know what is the equivalent of the TFSReg.exe command-line tool in 2010 Beta 2? I cannot find it anywhere, I searched the entire Program Files tree. Was it renamed? Moved? Replaced by ...