Command city (build runner requirement)

I recently installed TeamCity for continuous integration, and I'm at a point before everything that happens in SVN gets queued in TeamCity .

Having studied a little, I found that I need to create an Agent to build. Now I created the agent, but I still get the Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements. error Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements. Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements. when trying to create my project.

I went to the "My Agents" page, my newly created agent is still in the list of incompatible agents with Unmet requirements: DotNetFramework4.0_x86 exists (I think this means that I need this DOtNetFramework installed on my server), and I I can’t remove this requirement, so I suppose it needs to be added, given that my server is Windows Server 2008 R2 .

I tried installing Microsoft .NET Framework 4 , but that did not help.

Can someone help me fix this error requirement please.

Thank you in advance

+6
source share
1 answer

In the TeamCity Build Agents list, select one of the Build Agents, click the Agent Settings tab, and select Configuration Settings.

Check if the following configurations have the same values ​​as below (assuming you installed .NET 4.0 on the C: drive in your TeamCity build agent):

 DotNetFramework4.0_x86 - 4.0.30319 DotNetFramework4.0_x86_Path - C:\Windows\Microsoft.NET\Framework\v4.0.30319 

If it is similar or similar, open the TeamCity build configuration that you installed and open the Settings tab, in which the Agent Requirements section has been edited. In this case, check if the conditions for the values ​​of the configuration parameters DotNetFramework4.0_x86 and DotNetFramework4.0_x86_Path , and if they are present, make sure that they correspond to the values ​​indicated above.

Once these values ​​match, this compatibility issue will no longer appear.

+5
source

All Articles