Xcode 机器人 vs Jenkins

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23780493/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:56:34  来源:igfitidea点击:

Xcode bots vs Jenkins

iosxcodejenkinsxcode-bots

提问by tomj

At the risk of this question being "too vague" here goes...!

冒着这个问题“太模糊”的风险,这里是......!

We have a Jenkins system running for other (non iOS) software projects. I want to set up nightly Xcode build and deploy to Testflight for a number of iOS projects. The question is which is the best way to go. It feels right to use the built in XCode mechanism for automated builds but given Jenkins is in place are there any significant benefits to using Jenkins over XCode bots?

我们有一个为其他(非 iOS)软件项目运行的 Jenkins 系统。我想为许多 iOS 项目设置每晚 Xcode 构建并部署到 Testflight。问题是哪种方式最好。使用内置的 XCode 机制进行自动构建感觉是正确的,但考虑到 Jenkins 到位,使用 Jenkins 比使用 XCode 机器人有什么显着的好处吗?

Some criteria are: - Ease of setup - Reliability - Minimising pain when xcode features change

一些标准是: - 易于设置 - 可靠性 - 最小化 xcode 功能更改时的痛苦

Thanks

谢谢

回答by Jeff Wolski

Xcode bots are fairly easy to set up, depending on your source control configuration. The big win for Bots over Jenkins is that Bots are tightly integrated with Xcode.

Xcode bot 的设置相当容易,具体取决于您的源代码管理配置。Bots 对 Jenkins 的巨大胜利在于 Bots 与 Xcode 紧密集成。

You can monitor, create, and modify your bots right from the Log Navigator, and only the bot for the particular project and branch will show, which is nice when you have dozens of bots on your server. Also, when you click on a failed test or warning or analysis issue that a particular build has, you will be taken directly to the offending line in Xcode (if you're viewing the bot in Xcode).

您可以直接从 Log Navigator 监控、创建和修改您的机器人,并且只会显示特定项目和分支的机器人,当您的服务器上有数十个机器人时,这很好。此外,当您单击特定构建所具有的失败测试或警告或分析问题时,您将被直接带到 Xcode 中的违规行(如果您正在 Xcode 中查看机器人)。

Monitor and Manage Bots in the Bot Viewer

在机器人查看器中监控和管理机器人