简体   繁体   English

嗨,我正在尝试在自托管代理上运行我的 azure 管道,但出现错误

[英]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.

相关问题 如何在自托管 Windows 代理上从 Azure DevOps 管道运行 Azure CLI 任务? - How to run Azure CLI tasks from an Azure DevOps Pipeline on a Self-Hosted Windows Agent? “创建管道时出错。” 在 Azure 管道自托管代理中运行 powershell 脚本时 - "An error occurred while creating the pipeline." when running powershell script in Azure pipeline self-hosted agent 用于运行 pytest 的 Azure 自托管代理 - Azure Self hosted agent to run pytest 自托管 Azure DevOps 管道代理失败并出现错误令牌受众无效 - Self Hosted Azure DevOps Pipeline Agent fails with error Token Audience is not valid 如何在自托管的 Windows 代理中安装 Liquibase? (Azure Devops 管道) - How to install Liquibase in a self hosted Windows agent ? (Azure Devops Pipeline) Azure 用于 Java 项目的 DevOps 管道,带有自托管代理 - Azure DevOps Pipeline for Java Project with self hosted agent azure 自托管代理 linux 不使用“--once”参数运行 - azure self hosted agent linux do not run with “--once” parameter 在 Kubernetes 上运行 Azure 以 podman 作为无特权容器的自托管代理 - Run Azure Self-hosted agent with podman as unpriviliged container on Kubernetes 在我的自托管 Windows 代理上安装 Azure-Cli 时出错 - Error when install Azure-Cli on my self hosted windows agent 我如何知道管道使用的是 Microsoft 托管代理还是自托管代理 - How can I know if the pipeline is using a Microsoft-hosted agent or self-hosted agent
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM