Nuget和Teamcity Agent不允许运行此配置 [英] Nuget and Teamcity Agent not allowed to run this configuration
问题描述
我遇到了一个有趣的问题.我想用Teamcity构建nuget包.我确实设置了非常简单的配置(JetBrains做得好!)
I came across an interesting issue. I want to build nuget packages with Teamcity. I did set up the configuration which is really straight forward (Good job JetBrains!)
但是我无法在我们的一个构建代理上运行它.
However I am not able to run it on one of our build agents.
该代理确实通过了该配置的代理要求,但是在其名称旁边显示以下内容:不允许运行此配置
The agent does pass the agent requirements for the configuration, but next to it's name the following is shown: not allowed to run this configuration
我的问题:为什么?
在代理配置参数页面上,我将Nuget作为可能的配置:
On the agent configuration parameters page I have Nuget as possible configurations:
teamcity.tool.NuGet.CommandLine.2.8.2.nupkg D:\BuildAgent\tools\NuGet.CommandLine.2.8.2.nupkg
teamcity.tool.NuGet.CommandLine.DEFAULT.nupkg D:\BuildAgent\tools\NuGet.CommandLine.DEFAULT.nupkg
我们还有第二个构建代理,它能够运行Nuget Packager配置. 这两台计算机之间的主要区别是,一台是 Windows 8,版本6.2 (不允许运行此配置),另一台是 Windows 7,版本6.1 (允许运行此配置)
We have a second build agent which is able to run Nuget Packager configuration. The main difference between this two machines is that one is a Windows 8, version 6.2 machine (not allowed to run this configuration) and the other one is a Windows 7, version 6.1 (allowed run this configuration)
我们正在运行:
TeamCity Enterprise 8.0.5 (build 27692)
任何提示和帮助将不胜感激!
Any hints and help will be greatly appreciated!
谢谢!
推荐答案
最有可能将代理配置为仅运行显式分配的配置. 请检查代理->->兼容配置"选项卡.
Most likely the agent is configured to run only explicitly assigned configurations. Plesase, check the Agents -> -> "Compatible configurations" tab.
有一个带有运行所有兼容文件"/运行附带的文件.."选项的组合框.确保选中运行所有兼容文件"
There is a combo box with options "Run all compatible" / "Run assined .. ". Make sure "Run all compatible" is selected
这篇关于Nuget和Teamcity Agent不允许运行此配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!