在MacOS X Lion上使用Jenkins构建iOS项目时出错 [英] Error building iOS project with Jenkins on MacOS X Lion
问题描述
Jenkins成功地从BitBucket检出了项目,但之后我收到了此错误消息:
Jenkins successfully manages to checkout the project from BitBucket but after that I get this error message:
由匿名用户启动
Started by user anonymous
在工作区中构建 /Users/Shared/Jenkins/Home/jobs/myprojectAdHocBuild/workspace
Building in workspace /Users/Shared/Jenkins/Home/jobs/myprojectAdHocBuild/workspace
结帐:工作区/ /Users/Shared/Jenkins/Home/jobs/myprojectAdHocBuild/workspace- hudson.remoting.LocalChannel@xxxxxxx
Checkout:workspace / /Users/Shared/Jenkins/Home/jobs/myprojectAdHocBuild/workspace - hudson.remoting.LocalChannel@xxxxxxx
使用策略:默认
从1个远程Git存储库中获取更改
Fetching changes from 1 remote Git repository
从git@bitbucket.org:myuser/myproject.git获取上游更改
Fetching upstream changes from git@bitbucket.org:myuser/myproject.git
没有候选修订
错误:找不到要构建的任何修订.验证存储库并 这项工作的分支配置.
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
存档文物
完成:失败
有什么想法要解决吗?
我的服务器系统信息:
运行MACOSX Lion 10.8.2的MacMini(全新安装) 詹金斯版 1.489
MacMini running MACOSX Lion 10.8.2 (fresh installed) Jenkins version 1.489
推荐答案
顺便说一句,我找到了一个解决方案.我的错误是,在Jenkins作业配置区域中,当包含分支时,我将分支用小写字母括起来.区分大小写
Btw I've found a solution.My error was that,in the Jenkins job configuration area I included the branch to be build tag in lowercase characters when it was case-sensitive
这篇关于在MacOS X Lion上使用Jenkins构建iOS项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!