Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team city (build runner requirement)

Tags:

teamcity-7.0

I have recently installed TeamCity for continuous integration and I am at a point before anything commited in SVN gets into queue in TeamCity.

Researching a bit, I found that I need an Agent to build. Now I have created an agent but I still get Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements. error when I try to build my project.

I went into my Agents page , my newly created agent is still under the incompatible agents list with Unmet requirements: DotNetFramework4.0_x86 exists (I think which means I need this DOtNetFramework installed on my server) and I can't delete this requirement so I suppose this needed to be added considering my server is Windows Server 2008 R2.

I have tried installing Microsoft .NET Framework 4 but that didn't help.

Can anyone please help in fixing this requirement error please.

Thanks in advance

like image 630
Jay Avatar asked Feb 27 '13 12:02

Jay


People also ask

How much RAM does TeamCity use?

The recommended initial size is 4 GB.

What is runner type in TeamCity?

Build runner is a part of TeamCity that allows integration with a specific build tool (Ant, MSBuild, Command Line, and so on). In a build configuration, a build runner defines how to run a build and report its results. Technically, build runners are implemented as plugins.

How do you run builds in TeamCity?

To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog. Use HTTP request or REST API request to TeamCity to trigger a build.

How do I run a TeamCity server?

To start/stop the TeamCity server and one default agent at the same time, run the runAll script via a terminal. The script is located in the <TeamCity Home>/bin directory. By default, TeamCity runs on http://localhost:8111/ and has one registered build agent that runs on the same machine.


1 Answers

In your TeamCity Build Agents list select one of your build agent, open the tab 'Agent Parameters' and click subtab of 'Configuration Parameters'.

Check whether the following configurations are having same values of as below (with assumption that you have installed .NET 4.0 in drive C: in you 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 same, then open the TeamCity Build Configuration you have setup and open the 'Settings' tab in that edit the 'Agent Requirements' section. In that please check whether you have conditions set for values of config parameters DotNetFramework4.0_x86 and DotNetFramework4.0_x86_Path and if it is present, ensure that those are matching with the values posted above.

Once these values are matching, then this compatibility issue will not pop up anymore.

like image 65
RinoTom Avatar answered Sep 26 '22 08:09

RinoTom