• <bdo id='5bLdN'></bdo><ul id='5bLdN'></ul>
    <i id='5bLdN'><tr id='5bLdN'><dt id='5bLdN'><q id='5bLdN'><span id='5bLdN'><b id='5bLdN'><form id='5bLdN'><ins id='5bLdN'></ins><ul id='5bLdN'></ul><sub id='5bLdN'></sub></form><legend id='5bLdN'></legend><bdo id='5bLdN'><pre id='5bLdN'><center id='5bLdN'></center></pre></bdo></b><th id='5bLdN'></th></span></q></dt></tr></i><div id='5bLdN'><tfoot id='5bLdN'></tfoot><dl id='5bLdN'><fieldset id='5bLdN'></fieldset></dl></div>
  • <small id='5bLdN'></small><noframes id='5bLdN'>

    <tfoot id='5bLdN'></tfoot>

    1. <legend id='5bLdN'><style id='5bLdN'><dir id='5bLdN'><q id='5bLdN'></q></dir></style></legend>

        如何提高 teamcity 构建性能?

        时间:2023-05-20
        <i id='0aBIM'><tr id='0aBIM'><dt id='0aBIM'><q id='0aBIM'><span id='0aBIM'><b id='0aBIM'><form id='0aBIM'><ins id='0aBIM'></ins><ul id='0aBIM'></ul><sub id='0aBIM'></sub></form><legend id='0aBIM'></legend><bdo id='0aBIM'><pre id='0aBIM'><center id='0aBIM'></center></pre></bdo></b><th id='0aBIM'></th></span></q></dt></tr></i><div id='0aBIM'><tfoot id='0aBIM'></tfoot><dl id='0aBIM'><fieldset id='0aBIM'></fieldset></dl></div>

              <tfoot id='0aBIM'></tfoot>

              <small id='0aBIM'></small><noframes id='0aBIM'>

                <tbody id='0aBIM'></tbody>

              <legend id='0aBIM'><style id='0aBIM'><dir id='0aBIM'><q id='0aBIM'></q></dir></style></legend>
                <bdo id='0aBIM'></bdo><ul id='0aBIM'></ul>
                  本文介绍了如何提高 teamcity 构建性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我的项目有以下步骤:

                  1. 构建
                  2. 单元测试
                  3. 测试覆盖率
                  4. 重复查找器
                  5. fx 警察

                  有没有办法让 TeamCity 并行执行 2-5 个步骤?我可以为此使用多个构建代理吗?

                  Is there any way to make TeamCity execute 2-5 steps in parallel? Can I use several build agents for that?

                  推荐答案

                  是的.假设您至少有四个构建代理,您可以执行以下操作:

                  Yes. Assuming you have at least four build agents, you can do the following:

                  1. MyProject 下,定义 5 个构建配置(BuildUnit Tests 等).
                  2. 编辑构建配置2-5,在Build Triggering中定义一个新的Trigger(选择Finish Build Trigger,并设置为运行Build 成功运行后.
                  3. 编辑构建配置2-5,在Dependencies中定义一个新的Artifact dependency(选择Add new artifact dependency,并选择输出您的 Build 配置.
                  1. Under MyProject, define 5 build configurations (Build, Unit Tests, etc).
                  2. Edit build configurations 2-5, and define a new Trigger in Build Triggering (Choose Finish Build Trigger, and set it to run after a successful run of Build.
                  3. Edit build configurations 2-5, and define a new Artifact dependency in Dependencies (Choose Add new artifact dependency, and choose the output of your Build configuration.

                  只要您有可用的代理,构建配置就会在成功构建后运行,每个都在自己的代理上.

                  As long as you have agents available, the build configurations will run after a successful Build, each on its own agent.

                  顺便说一句,在不了解您的具体项目的情况下,我建议您仅在整个过程需要很长时间(比如说超过 15 分钟)并且您可以节省这些机器(虚拟机或非虚拟机)时才这样做).

                  On a side note, without knowing your specific project, i'd recommend doing that only if the whole process takes a really long time (lets say more than ~15 minutes), and you can spare those machines (virtual or not).

                  这篇关于如何提高 teamcity 构建性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Visual Studio (.sln) 生成运行程序和 MSBuild 之间的差异 下一篇:在 CruiseControl.NET 构建中使用“devenv"和“msbuild"有什么区别?

                  相关文章

                    1. <tfoot id='7I0MJ'></tfoot>

                      <small id='7I0MJ'></small><noframes id='7I0MJ'>

                    2. <i id='7I0MJ'><tr id='7I0MJ'><dt id='7I0MJ'><q id='7I0MJ'><span id='7I0MJ'><b id='7I0MJ'><form id='7I0MJ'><ins id='7I0MJ'></ins><ul id='7I0MJ'></ul><sub id='7I0MJ'></sub></form><legend id='7I0MJ'></legend><bdo id='7I0MJ'><pre id='7I0MJ'><center id='7I0MJ'></center></pre></bdo></b><th id='7I0MJ'></th></span></q></dt></tr></i><div id='7I0MJ'><tfoot id='7I0MJ'></tfoot><dl id='7I0MJ'><fieldset id='7I0MJ'></fieldset></dl></div>
                      • <bdo id='7I0MJ'></bdo><ul id='7I0MJ'></ul>
                      <legend id='7I0MJ'><style id='7I0MJ'><dir id='7I0MJ'><q id='7I0MJ'></q></dir></style></legend>