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

查看:10
本文介绍了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 文件(在 agent 文件夹下)
  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天全站免登陆