jenkins调用hbuilderx 【原生APP-本地打包->生成本地打包App资源】,jenkins任务运行时,批处理执行到cli命令时,提示异常退出。
批处理部分脚本如下:
1、cd E:/HBuilderX
2、cli.exe open
3、cli.exe project open --path E:/deploy/workspace/test_com_snpo_place_app
4、cli.exe publish --platform APP --type appResource --project E:/deploy/workspace/test_com_snpo_place_app
jenkins调用批处理执行到第4步时,提示【14:55:06.151 异常退出】,怎么解决?求助,谢谢
5***@qq.com
- 发布:2023-09-08 15:09
- 更新:2023-10-10 17:49
- 阅读:437
5***@qq.com (作者)
2023-09-08 15:45:07.212 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/theme-icons-default/package.json"
2023-09-08 15:45:07.224 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/theme-icons-default-colorful/package.json"
2023-09-08 15:45:07.237 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/theme-seti/package.json"
2023-09-08 15:45:07.250 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/theme-vsode/package.json"
2023-09-08 15:45:07.263 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/uni_modules_proxy/package.json"
2023-09-08 15:45:07.275 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/uniapp-basic/package.json"
2023-09-08 15:45:07.288 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/uniapp-extension/package.json"
2023-09-08 15:45:07.301 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/unicloud_proxy/package.json"
2023-09-08 15:45:07.316 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/uts-development-proxy/package.json"
2023-09-08 15:45:07.330 [INFO:] pluginJsonPath: "E:/HBuilderX/plugins/uts-language/package.json"
2023-09-08 15:45:07.356 [INFO:] [PluginHost] start plugin host ...
2023-09-08 15:45:07.580 [WARNING:] Can't find singleton object : "class ILanguageConfiguration"
2023-09-08 15:45:07.581 [WARNING:] Can't find singleton object : "class ILanguageService"
2023-09-08 15:45:07.582 [WARNING:] Can't find singleton object : "class ILanguageConfiguration"
2023-09-08 15:45:07.582 [WARNING:] Can't find singleton object : "class ILanguageService"
2023-09-08 15:45:07.593 [INFO:] QLocalServer's newConnection(PluignHost) is coming.
2023-09-08 15:45:07.593 [INFO:] pluign host start successed!
2023-09-08 15:45:07.728 [INFO:] [PluginHost] Plugin host started successed!
2023-09-08 15:45:07.760 [INFO:] =========================================cost 1255
2023-09-08 15:45:07.760 [INFO:] [PluginHost] 正在激活插件uts-development-proxy...
2023-09-08 15:45:07.761 [WARNING:] QObject: Cannot create children for a parent that is in a different thread.
(Parent is BuiltinNativePlugin(0x5c00298), parent's thread is QThread(0x555b768), current thread is QThread(0x1389f08)
2023-09-08 15:45:07.761 [WARNING:] QObject: Cannot create children for a parent that is in a different thread.
(Parent is BuiltinNativePlugin(0x5bffa00), parent's thread is QThread(0x555b768), current thread is QThread(0x1389f08)
2023-09-08 15:45:07.764 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2023-09-08 15:45:07.783 [INFO:] [PluginHost] 插件uts-development-proxy激活成功。
2023-09-08 15:45:07.783 [INFO:] [PluginHost] 正在激活插件app-safe-pack...
2023-09-08 15:45:07.954 [INFO:] filter 64bit version::: "Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)"
2023-09-08 15:45:07.956 [INFO:] find Node.js Path: "E:/HBuilderX/plugins/node/node.exe"
2023-09-08 15:45:07.976 [INFO:] [PluginHost] 插件app-safe-pack激活成功。
2023-09-08 15:45:07.976 [INFO:] [PluginHost] 正在激活插件extension-development...
2023-09-08 15:45:08.001 [INFO:] [PluginHost] 插件extension-development激活成功。
2023-09-08 15:45:08.001 [INFO:] [PluginHost] 正在激活插件format...
2023-09-08 15:45:08.024 [INFO:] [PluginHost] 插件format激活成功。
2023-09-08 15:45:08.025 [INFO:] [PluginHost] 正在激活插件hbuilderx-language-services...
2023-09-08 15:45:08.998 [INFO:] User logged in
2023-09-08 15:45:09.556 [INFO:] [PluginHost] 插件hbuilderx-language-services激活成功。
2023-09-08 15:45:09.556 [INFO:] [PluginHost] 正在激活插件chrome-base...
2023-09-08 15:45:09.670 [INFO:] [PluginHost] 插件chrome-base激活成功。
2023-09-08 15:45:09.670 [INFO:] [PluginHost] 正在激活插件uniapp-basic...
2023-09-08 15:45:09.697 [INFO:] [PluginHost] 插件uniapp-basic激活成功。
2023-09-08 15:45:12.784 [INFO:] Local Mac: "00:50:56:B3:B5:C8"
2023-09-08 15:49
5***@qq.com (作者)
最后一部分的日志,看不大懂呀
2023-09-08 15:49