none
How to let Controller process multiple check-in request? RRS feed

  • 问题

  • Environment:

    • Visual Studio 2013, TFS 2013, Windows Server 2012R2
    • One build definition named "Definition1" 
    • One Controller on "Server1"
    • 8 build agents on "Server1"

    Action Steps:

    1. Person "P1" check-in code and trigger a gated-build named: "Definition1_01". The build need 20 minutes.
    2. Soon, person "P2" check-in code and trigger a new gated-build named: "Definition1_02". 
    3. person "P3" check-in code and trigger a new build named "Definition1_03"

    Expectation:

    "Definition1_02" and "Definition1_03" should be started after requiested. Because there has free build agents.

    Observations:

    "Definition1_02" and "Definition1_03" start at same time after "Definition1_01" completed.

    Question:

    How to let free build agent to do gated-build rather than waiting for all previous builds completed.


    -Thanks -Shuhang Zhao

    2014年8月13日 6:51

答案

  • 在 build definiton>>Trigger>>Gated Check-in 下选择 Merge and build up to 选项。

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年8月19日 9:01
    版主

全部回复

  • 你好,

    这个是TFS的中文论坛,所以请你用中文发帖子。

    对于这种情况,我已经测试过了, 当Definition1_01运行的时候,Definition1_02和Definition1_03都会处在队列当中,知道01运行完成,然后02才开始运行,03处于队列当中。尽管有很多agents在同一个机器上,但是如果同时触发一个相同Gated Check-in build definition, 这些build会在build controller里排队一个一个运行。这在TFS 2013中是默认的。 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年8月14日 7:53
    版主
  • 你好,

    在你的另外一个帖子你提供了一个solution,你看下!!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年8月15日 7:03
    版主
  • 在 build definiton>>Trigger>>Gated Check-in 下选择 Merge and build up to 选项。

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年8月19日 9:01
    版主