gpt4 book ai didi

java - Jenkins 在向源代码管理提供存储库 URL 时出错

转载 作者:行者123 更新时间:2023-11-30 06:36:12 25 4
gpt4 key购买 nike

我正在 Jenkins 中配置 GitHub 项目,同时输入在源代码管理 -> Git -> 存储库 -> 提供存储库 URL - https://github.com/xxx/gradle-java-sample-project.git 中输入的所有详细信息。

显示此消息 -

无法连接到存储库:命令“git ls-remote -h https://github.com/xxx/gradle-java-sample-project.git HEAD”返回状态代码 1:标准输出:stderr:xcrun:错误:无效的 Activity 开发人员路径(/Library/Developer/CommandLineTools),缺少 xcrun 位于:/Library/Developer/CommandLineTools/usr/bin/xcrun

我检查了配置系统,Git 和 GitHub 插件已安装。不确定我错过了什么。

最佳答案

您似乎尚未安装命令行工具。在 Mac 上的终端中运行此代码。

xcode-select --install

关于java - Jenkins 在向源代码管理提供存储库 URL 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45169523/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com