Fastlane在终端上工作而不是Jenkins

问题描述 投票:1回答:2

我能够在本地配置Fastlane并与终端配合良好,但是当我尝试使用Jenkins运行它时(我已经在我的macbook上本地配置了Jenkins)它每次都失败(我再次安装了ruby 2.5.0)。对此有任何帮助将受到高度赞赏。

我附上SS供你参考。

提前致谢。

enter image description here

swift jenkins continuous-integration fastlane cd
2个回答
0
投票

Jenkins使用指定的用户'jenkins'运行其构建脚本。您可能想检查'jenkins'用户是否已安装需要依赖项来运行fastlane,例如ruby ...


0
投票

你在詹金斯设置了你的PATH吗?在节点的配置中,在环境变量部分中,您将要通过输入/usr/local/bin/PATH与Jenkins的/usr/local/bin/:$PATH包含在一起。

© www.soinside.com 2019 - 2024. All rights reserved.