我试图在Mavericks中使用OS X Server for Mavericks获得连续集成设置。
我安装了服务器,我的源代码位于本地目录使用来自assembla的Git。我遵循Apple Xcode持续集成指南,我正在向Xcode中添加一个机器人到产品中。
错误:
创建漫游器需要一个由源代码控制的项目。此项目似乎在本地git存储库中。为了能够创建bot,项目必须在服务器可以访问的存储库中,以便它可以克隆它。 [取消] [配置遥控器...]
点击取消或配置遥控器将会启动我的文件夹配置,远程添加只是罚款。
我如何前进?
解决方案似乎这个问题发生时,没有一个远程命名origin,因为这是Xcode正在寻找。当我把远程重命名为origin(在< ProjectRoot> /。git / config ),Xcode停止抱怨,让我通过Xcode UI添加一个机器人。 >
I'm trying to get Continuous Integration setup in Mavericks using OS X Server for Mavericks.
I have the Server installed and my source code is in a local directory using Git from assembla. I'm following the Apple Xcode Continuous Integration Guide, and I'm at the part where I'm adding a bot to the product in Xcode.
I'm getting the error:
Creating a bot requires a project that is under source control. This project appears to be in a local git repository. To be able to create a bot, the project must be in an repository the server can access so it can clone it. [cancel] [Configure Remotes...]
Clicking either cancel or configure remotes brings up the configure for my folder and I see my remote added just fine. I also tried adding the remote repository again with a different name.
How do I move forward?
解决方案It seems like this issue happens when there isn't a remote named "origin", as that's what Xcode is looking for. When I renamed my remote to origin (in <ProjectRoot>/.git/config), Xcode stopped complaining and let me add a bot through the Xcode UI.
更多推荐
如何在Xcode中创建一个机器人?获取“创建机器人需要在源控制下的项目”。
发布评论