VSTS在安装代理后将其状态从脱机状态更改为联机状态 [英] VSTS change agent state from offline to online after installing it

查看:84
本文介绍了VSTS在安装代理后将其状态从脱机状态更改为联机状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临VSTS代理状态为脱机的问题,我通过cmd在正确的池下安装了该代理,然后下载了该代理,但仍无法获得任何帮助吗?

i'm facing a problem with VSTS agent state is offline i installed the agent through cmd under the right pool and downloaded after that but it still offline any help please ?

推荐答案

如果构建代理以交互方式运行,则需要通过运行 run.cmd 文件来启动代理:

If the build agent is running as interactive mode, you need to start agent by running run.cmd file:

  1. 以管理员身份打开命令行
  2. 运行 run.cmd 文件(在代理文件夹下)
  1. Open Command line as administrator
  2. Run run.cmd file (under agent folder)

如果构建代理作为服务运行,则可以检查相关服务是否在服务中运行.

If the build agent is running as service, you can check whether the related service is running in Services.

这篇关于VSTS在安装代理后将其状态从脱机状态更改为联机状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆