Teamcity未拾取fastlane匹配\u密码环境变量

Teamcity未拾取fastlane匹配\u密码环境变量,teamcity,fastlane,fastlane-match,Teamcity,Fastlane,Fastlane Match,因此,我有一个构建配置,它已使用命令行的构建步骤进行配置。在此范围内,我设置了一个环境参数MATCH_PASSWORD,该值是生成的正确密码,并作为访问密钥存储在bitbucket中 因为当我运行命令以执行fast lane文件中的通道时,密钥已经在我的机器上本地存在。没有错误。但是,当我推我的分支时,TeamCity在执行lane并尝试克隆repo后正在编译,下面的错误消息正在输出并循环到日志中 [10:09:43][Step 1/1] [10:09:43]: Cloning remote g

因此,我有一个构建配置,它已使用命令行的构建步骤进行配置。在此范围内,我设置了一个环境参数MATCH_PASSWORD,该值是生成的正确密码,并作为访问密钥存储在bitbucket中

因为当我运行命令以执行fast lane文件中的通道时,密钥已经在我的机器上本地存在。没有错误。但是,当我推我的分支时,TeamCity在执行lane并尝试克隆repo后正在编译,下面的错误消息正在输出并循环到日志中

[10:09:43][Step 1/1] [10:09:43]: Cloning remote git repo...
[10:09:43][Step 1/1] [10:09:43]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
[10:09:46][Step 1/1] [10:09:45]: Neither the MATCH_PASSWORD environment variable nor the local keychain contained a password.
[10:09:46][Step 1/1] [10:09:45]: Bailing out instead of asking for a password, since this is non-interactive mode.
[10:09:46][Step 1/1] [10:09:45]: Couldn't decrypt the repo, please make sure you enter the right password!
[10:09:46][Step 1/1] security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
我有点困惑,因为我已经在teamcity中设置了环境变量,它应该识别它,拾取它并在代理上进行设置。

在您的Fastfile中,您可以在调用MATCH之前使用puts ENV[MATCH_PASSWORD],查看密码是否真的配置正确。如果是,但由于某种原因,match仍无法正确提取,请按照此处的说明提交问题