【发布时间】:2021-02-18 19:37:44
【问题描述】:
我正在开发移动 CI/CD,并使用 Fastlane 来支持脚本/操作。该组织希望将 Android 和 IOS 工件放在 Nexus Repository Manager 中,因此我为 FastLane 寻找操作和/或插件。果然有一个action:Fastlane action for nexus upload和一个插件(源码)在GitHub:Source for nexus_upload plugin to Fastlane.
我无法让该操作起作用,并引发了一个神秘的错误:
$ bundle exec fastlane uploadToServer
[✔] ????
+----------------------------------+---------+------------------+
| Used plugins |
+----------------------------------+---------+------------------+
| Plugin | Version | Action |
+----------------------------------+---------+------------------+
| fastlane-plugin-upload_to_server | 0.1.6 | upload_to_server |
+----------------------------------+---------+------------------+
[13:30:01]: ------------------------------
[13:30:01]: --- Step: default_platform ---
[13:30:01]: ------------------------------
[13:30:01]: Lane name 'env' is invalid! Invalid names are run, init, new_action, lanes, list, docs, action, actions, enable_auto_complete, new_plugin, add_plugin, install_plugins, update_plugins, search_plugins, help, env, update_fastlane.
[!] Lane name 'env' is invalid
【问题讨论】:
标签: plugins nexus fastlane nexus3