Jenkin-ers在外面!请帮帮我。
用例:我现在正在练习配置Jenkins,以从我的人员GIT repo中获取提交的代码库,构建并生成.iPA,然后自动将此构建推送到TestFlight或HockeyApp。
工作正常: Jenkins现在可以提取GIT代码库,构建项目并生成.iPA和其他文件。
不起作用:从所需位置获取.iPA可执行文件,并推送到TestFlight / HockeyApp。以下是来自JENKINS的控制台日志:
Results at '/Users/shriharsha/.jenkins/jobs/GITTestFlight/workspace/build/Release-iphoneos/BarCodeScanner-Release-1.0.ipa'
[Release-iphoneos] $ ditto -c -k --keepParent -rsrc /Users/shriharsha/.jenkins/jobs/GITTestFlight/workspace/build/Release-iphoneos/BarCodeScanner.app.dSYM BarCodeScanner-Release-1.0-dSYM.zip
Uploading to HockeyApp...
java.lang.ArrayIndexOutOfBoundsException: 0
at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:321)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
at hudson.model.Run.execute(Run.java:1770)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Build step 'Upload to HockeyApp' marked build as failure
Uploading to testflight
No file to upload was found with paths search criteria: '/Users/shriharsha/.jenkins/jobs/GITTestFlight/workspace/build/Release-iphoneos/BarCodeScanner-Release-1.0.ipa'
Build step 'Upload to Testflight' marked build as failure
Finished: FAILURE请让我知道哪里出了问题,而且对我来说看起来真的很奇怪。
发布于 2014-09-17 16:21:06
查看code,我会猜到您的.ipa文件的路径不正确。请注意,这必须是相对于您的工作区的路径。
https://stackoverflow.com/questions/25875352
复制相似问题