【问题标题】:What can I do while I wait for the TeamCity Git plugin to get pre-tested commit support?在等待 TeamCity Git 插件获得预先测试的提交支持时,我能做什么?
【发布时间】:2011-05-19 17:30:25
【问题描述】:

我是 CI 的新手。我想将我的代码更改提交给 TeamCity 并让它运行所有测试,如果它们通过,则提交到源代码。但是,我使用 Git,看起来 Git 插件尚不支持预测试提交或个人构建。

如果你使用 Git 和 TeamCity,你会如何处理这个问题?

【问题讨论】:

    标签: git teamcity


    【解决方案1】:

    在即将推出的适用于 IntelliJ IDEA 9.0 的 TeamCity 5.0 中是 already supported。对于 Visual Studio 支持watch/vote the issue

    如果您的 IDE 不受支持,TeamCity 5.0 还具有perform remote runs from the command line tool 的功能。

    【讨论】:

      【解决方案2】:

      我相信它还没有。

      是的,你有远程运行,但你没有 Teamcity+Intellij IDEA 预测试的分布式版本控制系统的自动提交。

      您所能做的就是使用命令行工具(如上所述)和您尝试提交的 git 存储库上的 pre-commit/receive 挂钩进行预测试提交。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-11-19
        • 1970-01-01
        • 1970-01-01
        • 2016-02-25
        • 1970-01-01
        • 2016-11-25
        • 2011-06-20
        • 1970-01-01
        相关资源
        最近更新 更多