Jenkins plugins 无法上载Jenkin';s生成。iPA到TestFlight或HockeyApp

Jenkins plugins 无法上载Jenkin';s生成。iPA到TestFlight或HockeyApp,jenkins-plugins,Jenkins Plugins,詹金:有人在那儿!请帮帮我 用例: 我现在正在练习配置Jenkins,从我的人员GIT repo获取提交的代码库,构建并生成.iPA,然后自动将此构建推送到TestFlight或HockeyApp 工作情况: 詹金斯现在将提取GIT代码库,构建项目并生成.iPA和其他文件 不起作用的事情: 从所需位置获取.iPA可执行文件并推送到TestFlight/HockeyApp。以下是JENKINS的控制台日志: Results at '/Users/shriharsha/.jenkins/jobs/G

詹金:有人在那儿!请帮帮我

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

工作情况: 詹金斯现在将提取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

请让我知道这里出了什么问题,我觉得很奇怪。

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

Thanx用于回复Ashtom,但设置或记录的路径是正确的。如果您在第1行进行检查,路径将显示“/Users/shriharsha/.jenkins/jobs/GITTestFlight/workspace/build/Release iphoneos/BarCodeScanner-Release-1.0.ipa”,相同的路径将记录在“未找到要上载的文件,路径搜索条件为:……”log.我觉得它可以将.ipa写入特定文件夹,但无法从中读取。
/Users/shriharsha/.jenkins/jobs/GITTestFlight/workspace/build/Release iphoneos/‌​条形码扫描仪-Release-1.0。ipa
不是相对路径。正确的做法是
构建/发布iphoneos/‌​BarCodeScanner-Release-1.0.ipa
如果
工作区
是您的Jenkins工作区。请注意Jenkins.ashtom中此输入字段的帮助文本,我确实检查了这一点。下面是错误日志:上载到testflight找不到要上载的文件,路径搜索条件为:“build/Release iphoneos/BarCodeScanner-Release-1.0.ipa”build step“upload to testflight”将生成标记为failure Finished:failure我遇到了相同的问题。您是否尝试过使用testflight桌面应用程序手动将.ipa文件上载到testflight?我尝试过这个,但由于某种原因,它无法处理该文件。可能存在项目结构差异或资源调配不正确。