Nuget and Teamcity Agent Not Allowed to Run This Configuration

I ran into an interesting problem. I want to create nuget packages with Teamcity. I set up a configuration that is really straightforward (JetBrains work well!)

However, I cannot run it in one of our build agents.

The agent passes the agent parameters for the configuration, but next to it the following is indicated: it is not allowed to perform this configuration

My question is: why?

On the agent configuration options 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 that can run the Nuget Packager configuration. The main difference between the two machines is that one of them is a Windows 8 machine, version 6.2 (not allowed to run this configuration), and the other is Windows 7, version 6.1 (allowed to run this configuration).

We run:

 TeamCity Enterprise 8.0.5 (build 27692) 

Any hints and help would be greatly appreciated!

Thanks!

+9
nuget teamcity
source share
2 answers

Most likely, the agent is configured to run only explicitly assigned configurations. Plesase, check the Agents tab β†’ -> "Compatible configurations".

There is a combined field with the options "Run all compatible" / "Run assisted ..". Make sure Run All Compatible is selected.

+19
source share

You may not always be able to run all compatible ones. In this case, you can go to Agents -> Specific Agent β†’ Compatible Configurations β†’ Assign Configurations β†’ Search and select a specific task or assembly.

0
source share

All Articles