首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法将Jenkin生成的.iPA上传到TestFlight或HockeyApp

无法将Jenkin生成的.iPA上传到TestFlight或HockeyApp
EN

Stack Overflow用户
提问于 2014-09-17 01:48:31
回答 1查看 1.2K关注 0票数 1

Jenkin-ers在外面!请帮帮我。

用例:我现在正在练习配置Jenkins,以从我的人员GIT repo中获取提交的代码库,构建并生成.iPA,然后自动将此构建推送到TestFlight或HockeyApp。

工作正常: Jenkins现在可以提取GIT代码库,构建项目并生成.iPA和其他文件。

不起作用:从所需位置获取.iPA可执行文件,并推送到TestFlight / HockeyApp。以下是来自JENKINS的控制台日志:

代码语言:javascript
复制
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

请让我知道哪里出了问题,而且对我来说看起来真的很奇怪。

EN

回答 1

Stack Overflow用户

发布于 2014-09-17 16:21:06

查看code,我会猜到您的.ipa文件的路径不正确。请注意,这必须是相对于您的工作区的路径。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25875352

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档