Teamcity 快车道和团队城市
我已经在MacOS上安装了fastlane。 当我从终端窗口运行fastlane命令时,所有的工作都完成了。 但是,当从TeamCity build agent(gulp任务)执行相同的命令时,comand not found将显示Teamcity 快车道和团队城市,teamcity,macos-sierra,fastlane,Teamcity,Macos Sierra,Fastlane,我已经在MacOS上安装了fastlane。 当我从终端窗口运行fastlane命令时,所有的工作都完成了。 但是,当从TeamCity build agent(gulp任务)执行相同的命令时,comand not found将显示 > [15:34:27][Step 1/1] [15:31:06] exec(fastlane beta) > [15:34:27][Step1/1] /bin/sh: fastlane: command not found Fastlane已自动安
> [15:34:27][Step 1/1] [15:31:06] exec(fastlane beta)
> [15:34:27][Step1/1] /bin/sh: fastlane: command not found
Fastlane已自动安装在我的用户文件夹/Users/myusername/.Fastlane/bin中,我将此路径包含在全局路径(/etc/path.d/)中,对于我的Fastlane,可以从任何位置访问,但对于TC生成代理,则不能
如何解决这个问题?如何在全球范围内安装fastlane?问题已解决
最初是:
exec('fastlane beta');
我改成:
exec('export PATH="$PATH:$HOME/.fastlane/bin"; fastlane beta');
问题解决了
最初是:
exec('fastlane beta');
我改成:
exec('export PATH="$PATH:$HOME/.fastlane/bin"; fastlane beta');