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
The recommended initial size is 4 GB.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With