0

我目前正在编写一个 iPhone 应用程序并将我的源代码托管在 BitBucket git 存储库上。我想在我办公室的备用 mac mini 上设置一个持续集成系统。我还使用 Telerik 的 TestStudio 来运行一些自动化测试(我创建了一个专用目标来生成 QA 构建,它在我的 iPhone 或模拟器上的 TestStudio 应用程序可见)。

准确地说,我想自动化的程序是:

1) download provisioning profile and certificate 
2) download source code
3) build the iPhone app using the TestStudio QA profile
4) running the simulator
5) start the TestStudio app
6) run the testStudio test
7) collect somehow the results
8) [this is just a bonus] inform me if there was an error in any of the test

我正在考虑将 Jenkings 与 TestStudio 一起使用,但我肯定需要一些控制台技巧来执行我提到的更多操作。

任何建议都非常受欢迎。

谢谢克劳迪奥

4

1 回答 1

1

这是我所做的:

  1. 在 Jenkins 中,安装 Xcode 插件

  2. 当你在那里安装 git 和 github 插件时

  3. 创建一个新的 Jenkins 作业

a) 添加 git URL(您可能需要设置一个 github Deploy 密钥)

b) 添加 Xcode 构建步骤 - 选中“Clean before Build”和“Build IPA”

更高级:您可能想要添加一个 Github Post Receive 挂钩来通知 Jenkins 推送到 github,以便它触发构建。

于 2012-10-25T19:12:09.043 回答