Jenkins/Fastlane:致命错误:无法读取“[存储库 url]”的用户名:设备未配置

Pas*_*cal 6 git push github jenkins fastlane

在我的Jenkins CI-Pipeline 中,我使用Fastlane操作push_to_git_remote来执行 git 推送(在之前的步骤中,完成了自动提交)。但是,当我触发 Jenkins 构建时,出现以下错误:

fatal: could not read Username for 'https://...': Device not configured

在其他 stackoverflow 线程上,我找到了没有提交的解决方案。然而,这不是问题所在。另外,当我在构建服务器上本地执行 fastlane 操作(没有 Jenkins)时,我必须添加我的 git 存储库凭据,然后一切正常。

你有什么想法?