cloudbees jenkins和soasta cloudtest上的移动ci

cloudbees jenkins和soasta cloudtest上的移动ci,jenkins,xcodebuild,cloudbees,Jenkins,Xcodebuild,Cloudbees,我正在遵循上面概述的实践,在实践中,我的xcode项目的.ipa存档是通过CloudBees Jenkins作业在从机上构建的 从机现在在我的Jenkins配置中显示为一个节点,当作业运行时,xcode项目将从CloudBees正确下载。但是,该作业在/Applications/xcode.app中创建文件夹时遇到问题。我可以使用一些帮助来排除以下堆栈跟踪的故障: Started by user Wil Pannell Building remotely on mobile-slave in w

我正在遵循上面概述的实践,在实践中,我的xcode项目的.ipa存档是通过CloudBees Jenkins作业在从机上构建的

从机现在在我的Jenkins配置中显示为一个节点,当作业运行时,xcode项目将从CloudBees正确下载。但是,该作业在/Applications/xcode.app中创建文件夹时遇到问题。我可以使用一些帮助来排除以下堆栈跟踪的故障:

Started by user Wil Pannell
Building remotely on mobile-slave in workspace /Users/WPANNELL/jenkins/workspace/ios-mobile-image-browser
Copied 275 artifacts from "gwt-mobile-image-browser" build number 3
Unable to access upstream artifacts area /home/ventana/hudson_home/jobs/gwt-mobile-image-browser/modules/com.ventana.gwt$mobilebrowser/builds/2013-01-07_20-08-56/archive. Does source project archive artifacts?
Working directory is /Users/WPANNELL/jenkins/workspace/ios-mobile-image-browser/ios/VentanaMobileBrowser.xcodeproj.
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/xcodebuild -version
Xcode 4.5.2
Build version 4G2008a
Fetching marketing version number (CFBundleShortVersionString) from project.
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/agvtool mvers -terse1
No marketing version found (CFBundleShortVersionString).
Marketing version (CFBundleShortVersionString) found in project configuration: .
Fetching technical version number (CFBundleVersion) from project.
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion)
Technical version (CFBundleVersion) found in project configuration: .
Updating marketing version (CFBundleShortVersionString) to: 2.2.4
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/agvtool new-marketing-version 2.2.4
Setting CFBundleShortVersionString of project project to: 
    2.2.4.

/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 319: project.pbxproj/project.pbxproj.new1: Not a directory
mv: rename project.pbxproj/project.pbxproj.new1 to project.pbxproj/project.pbxproj: Not a directory
Updating technical version (CFBundleVersion) to: 2.2.4
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/agvtool new-version -all 2.2.4
Setting version of project project to: 
    2.2.4.

/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 139: project.pbxproj/project.pbxproj.new1: Not a directory
/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 140: project.pbxproj/project.pbxproj.new2: Not a directory
/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 141: project.pbxproj/project.pbxproj.new3: Not a directory
Also setting CFBundleVersion key (assuming it exists)

/Applications/Xcode.app/Contents/Developer/usr/bin/agvtool: line 145: project.pbxproj/project.pbxproj.new4: Not a directory
mv: rename project.pbxproj/project.pbxproj.new4 to project.pbxproj/project.pbxproj: Not a directory
rm: project.pbxproj/project.pbxproj.new1: Not a directory
rm: project.pbxproj/project.pbxproj.new2: Not a directory
rm: project.pbxproj/project.pbxproj.new3: Not a directory


Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: 2.2.4
Technical version (CFBundleVersion) used by Jenkins to produce the IPA: 2.2.4
Going to invoke xcodebuild:target: VentanaMobileBrowser, sdk: iphoneos, project: DEFAULT, configuration: Debug, clean: NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT
[VentanaMobileBrowser.xcodeproj] $ /usr/bin/xcodebuild -target VentanaMobileBrowser -sdk iphoneos -configuration Debug build DSTROOT=. clean install
Build settings from command line:
    DSTROOT = .
    SDKROOT = iphoneos6.0

xcodebuild: error: 'project.pbxproj' is not a project file.
Build step 'XCode' marked build as failure
Finished: FAILURE

我的jenkins xcode配置不正确。我在为Xcode项目目录保留的字段中指定了Xcode项目文件。如果我遇到进一步的问题,我会发回这里

我的jenkins xcode配置不正确。我在为Xcode项目目录保留的字段中指定了Xcode项目文件。如果我遇到更多问题,我会发回这里。记住,你可以回答自己的问题,甚至接受答案,记录下你的困惑和解决方案。谢谢你的输入,@JesseGlick,但是当我尝试时,我被警告说我的声誉不够好,不能这样做,我应该发表评论。威尔-你能在你的评论中给出答案吗,我可以把它作为一个答案发布,这样我们就可以结束这件事吗?@MichaelNeale-很抱歉,我直到现在才看到这一点,但我恐怕没有按照你的指示行事。请澄清你希望我做什么来结束这件事。