设置TeamCity以集成到OSX Build Agent [英] Setting up TeamCity to integrate to OSX Build Agent

查看:228
本文介绍了设置TeamCity以集成到OSX Build Agent的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

接着我在>设置Teamcity来构建Android ,我现在面临着一个有趣的挑战,就是要为一个iOS项目做同样的事情!

Following on from my question on Setting up Teamcity to build Android, I now have the fun challenge of doing the same for an iOS project!

我想做的是拥有TeamCity的工作(以及我们所有的工作)其他Teamcity作业)来构建iOS代码库+运行单元测试。

What I would like to do is have a TeamCity job (along with all our other Teamcity jobs) to build an iOS Codebase + run unit tests.


我知道要构建iOS,我们需要安装了XCode的OSX Build Agent。在Windows上将无法使用。

I'm aware to build iOS we need an OSX Build Agent with XCode installed. It won't work on Windows.

我想知道的是……有人成功做到了吗,集成了Windows TeamCity实例并在另一台计算机上运行 OSX Build Agent

What I'd like to know is ... has anyone successfully done this, integrated a Windows TeamCity instance with an OSX Build Agent running on another machine?

是否存在任何我们可以租用具有OSX虚拟机的云提供商来安装构建代理?

Are there any cloud providers that have OSX Virtual Machines we can rent to install a build agent?

推荐答案

MacOS代理的安装过程与Windows或Linux下的安装过程相同。请查看相应的部分文档

Installation procedure for MacOS agents does not differ from that under Windows or Linux. Have a look at corresponding section in the documentation.

基本上,您需要做的是:

Basically, what you need to do is:


  1. 解压缩zip文件

  2. 编辑 buildAgent.properties 文件以使代理知道服务器的位置

  3. 运行 agent.sh start

  4. 授权服务器上的代理

  1. unpack the zip file
  2. edit buildAgent.properties file to let the agent know where the server is
  3. run agent.sh start
  4. authorize the agent on the server

这篇关于设置TeamCity以集成到OSX Build Agent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆