TeamCity Build Agent显示不兼容的所有构建步骤

加里·詹姆斯

我最近安装了TeamCity 2017.2.3(内部版本541047)和Octopus Deploy 2018.1.5,最初在TeamCity中成功运行了构建并创建了程序包,但是现在我的构建代理将我的所有构建步骤都显示为服务重启后不兼容。

在此处输入图片说明

我已经卸载并重新安装了buildagent,插件(我使用Node.JS构建运行器,Octopus Deploy集成和xUnit)并重新构建了每个构建步骤,但仍然遇到相同的问题

建立步骤清单 在此处输入图片说明

在此处输入图片说明

有人知道会导致此问题的原因吗?

布罗纳姆

Each agent should have a list of global parameters that are picked up from the OS or manually configured from the agent properties file on the machine. These are things like the path, dotnet versions, npm etc.

http(s)://<tc root>/agentDetails.html?id=<agent id>&tab=agentParameters

(You can get to the above by clicking on the agent you want to inspect)

在此处输入图片说明

You can then override or add to these from the root project all the way up the project tree to the build configuration.

The message you are getting is saying is that in order for the build to run it needs to have an agent with those parameters configured. Could you give a screen grab of what your build agent parameters are.

Here is an example from one of my build agents which shows some of the configuration parameters that you need.

在此处输入图片说明

You should not need to add these, they should be picked up automatically by the agent.

  • First make sure these dependencies are actually installed.
  • 如果缺少,请安装并重新启动代理服务(需要使用新的配置属性)。
  • 如果新安装的组件需要重新启动,则可能尝试重新启动计算机。
  • 无法检查以查看构建代理服务在其下运行的权限。它可能没有轮询系统所需的权限,但我从未见过。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章