[英]Hi I'm trying to run my azure pipeline on self hosted agent but getting error
结帐任务时出现以下错误##[error]File not found: 'git'
You have not installed Git on the agent machine.您尚未在代理计算机上安装 Git。
You can download the latest version of Git here , and then install it on the agent machine.您可以在此处下载最新版本的 Git,然后将其安装在代理机器上。
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.然后,您可以在机器上或在代理上运行的管道作业中使用
git
命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.