嗨,我试图在自托管代理商上运行我的Azure管道,但会出现错误

发布于 2025-02-13 09:00:27 字数 41 浏览 2 评论 0原文

在结帐任务时,我会遇到以下错误 ## [错误]找不到文件:'git'

Below error I'm getting while checkout task
##[error]File not found: 'git'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽手叙旧 2025-02-20 09:00:27

您尚未在代理机上安装git。

您可以下载最新版本的git 在这里,然后将其安装在代理机上。

成功完成安装后,重新启动机器或代理服务。然后,您可以在机器上或在代理上运行的管道作业中使用 git 命令。

You have not installed Git on the agent machine.

You can download the latest version of Git here, and then install it on the agent machine.

After completing the installation successfully, restart the machine or the agent service. Then you can use the git command on the machine or in the pipeline jobs which run on the agent.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文