Nuget and Teamcity Agent not allowed to run this configuration
Asked Answered
T

2

12

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

My question: Why?

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

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)

We are running:

TeamCity Enterprise 8.0.5 (build 27692) 

Any hints and help will be greatly appreciated!

Thank you!

Trela answered 30/7, 2014 at 6:56 Comment(0)
A
27

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

Aigrette answered 30/7, 2014 at 11:54 Comment(0)
G
1

You may not always be in a position to Run all compatible, In that case you can go to Agents--> Particular agent --> comaptible configurations --> Assign configurations --> Search and select the specific Job or build.

Guria answered 19/9, 2019 at 10:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.