通过jenkins将ipa上传到hockeyapp时出错 [英] Error while uploading ipa to hockeyapp via jenkins

查看:288
本文介绍了通过jenkins将ipa上传到hockeyapp时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与jenkins一起通过曲棍球应用程序自动部署iOS应用程序.我成功创建了.ipa文件.

I am working with jenkins for auto deployment of iOS app via hockey app. I am successful in creating the .ipa file.

在jenkin的后置操作中,我设置了API Token,App File和其他设置.请查看附件中的图像以获取更多详细信息.但是,在控制台输出中,出现以下错误:-

In the post-buid action at jenkin, I set up the API Token, App File and other setting. Please look into the attached image for more details. However in the console output, I am getting the below error:-

控制台输出:

18:36:11 **导出成功** 18:36:11 18:36:11存档dSYM 18:36:11 [Release-iphoneos] $ ditto -c -k --keepParent -rsrc /用户/共享/Jenkins/主页/工作区/jenkinadhocIPA/build/Release-iphoneos/jenkinadhoc.xcarchive/dSYMs/jenkinadhoc.app.dSYM /用户/共享/Jenkins/主页/工作区/jenkinadhocIPA/build/Release-iphoneos/artifact/2018.06.06-dSYM.zip 18:36:11致命:无法初始化课程 hudson.util.ProcessTree $ UnixReflection 18:36:11 java.lang.NoClassDefFoundError:无法初始化类 hudson.util.ProcessTree $ UnixReflection 18:36:11在 hudson.util.ProcessTree $ UnixProcess.kill(ProcessTree.java:647) 18:36:11在 hudson.util.ProcessTree $ UnixProcess.kill递归地(ProcessTree.java:668) 18:36:11在 hudson.util.ProcessTree $ UnixProcess.kill递归地(ProcessTree.java:667) 18:36:11在 hudson.util.ProcessTree $ Unix.killAll(ProcessTree.java:589)18:36:11 在hudson.Launcher $ LocalLauncher.kill(Launcher.java:949)18:36:11在 hudson.model.AbstractBuild $ AbstractBuildExecution.run(AbstractBuild.java:510) 18:36:11在hudson.model.Run.execute(Run.java:1724)18:36:11在 hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)18:36:11在 hudson.model.ResourceController.execute(ResourceController.java:97) 18:36:11 at hudson.model.Executor.run(Executor.java:421)18:36:11 构建步骤"Upload to HockeyApp"将构建标记为失败18:36:11 完成:失败

18:36:11 ** EXPORT SUCCEEDED ** 18:36:11 18:36:11 Archiving dSYM 18:36:11 [Release-iphoneos] $ ditto -c -k --keepParent -rsrc /Users/Shared/Jenkins/Home/workspace/jenkinadhocIPA/build/Release-iphoneos/jenkinadhoc.xcarchive/dSYMs/jenkinadhoc.app.dSYM /Users/Shared/Jenkins/Home/workspace/jenkinadhocIPA/build/Release-iphoneos/artifact/2018.06.06-dSYM.zip 18:36:11 FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection 18:36:11 java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection 18:36:11 at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:647) 18:36:11 at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:668) 18:36:11 at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:667) 18:36:11 at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:589) 18:36:11 at hudson.Launcher$LocalLauncher.kill(Launcher.java:949) 18:36:11 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510) 18:36:11 at hudson.model.Run.execute(Run.java:1724) 18:36:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 18:36:11 at hudson.model.ResourceController.execute(ResourceController.java:97) 18:36:11 at hudson.model.Executor.run(Executor.java:421) 18:36:11 Build step 'Upload to HockeyApp' marked build as failure 18:36:11 Finished: FAILURE

我系统中的Java版本:-

Java version in my system:-

推荐答案

这显然是詹金斯人的Java问题.您可能必须检查所使用的JDK和jenkins设置.

This is obviously a Java problem in the jenkins. You might have to check the JDK and jenkins setup that you are using.

您可以参考以下内容.

You can reference the following.

Jenkins:致命:无法初始化hudson.util类.ProcessTree $ UnixReflection

这篇关于通过jenkins将ipa上传到hockeyapp时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆