简体   繁体   English

Xcode Bots配置文件的位置

[英]Location of Xcode Bots configuration files

I need to copy and transfer integration settings (trigger script, actually) from one to another project, but since my development Mac isn't connected to OS X Server, I can't check out Bot settings and take that script from existing project. 我需要将集成设置(实际上是触发脚本)从一个项目复制并传输到另一个项目,但由于我的开发Mac没有连接到OS X Server,我无法检查Bot设置并从现有项目中获取该脚本。

Is there a way to find Bot's configuration files? 有没有办法找到Bot的配置文件? And where they are actually stored at (dev machine or server)? 它们实际存储在哪里(开发机器或服务器)?

I tried to look at 我试着看看

~/Library/Developer/XcodeServer 

but found only bunch of .log files for every integration 但是每次集成只发现一堆.log文件

I don't really know that this approach can work properly, however, my suggestion would be "export and import XCode configuration file". 我真的不知道这种方法可以正常工作,但是,我的建议是“导出和导入XCode配置文件”。 That can be understood as after your project completed configuration, start exporting "xconfig" files and then import to your other projects. 这可以理解为在项目完成配置后,开始导出“xconfig”文件,然后导入到其他项目中。 This link might be helpful Is there a way export xcode build settings to .xcconfig file? 这个链接可能有帮助有没有办法将xcode构建设置导出到.xcconfig文件?

For those coming to this using the newer version of Xcode Server, even though Xcode Server now runs as a specific user, the configuration files are kept in /Library/Developer/XcodeServer . 对于那些使用较新版本的Xcode Server的人来说,即使Xcode Server现在作为特定用户运行,配置文件仍保存在/Library/Developer/XcodeServer You can also hit the Xcode Server API to get information about your bots. 您还可以点击Xcode Server API获取有关机器人的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM