Reputation: 117
I'm trying to set up teamcity and have come across a problem when adding a powershell build step. I am getting the following error when trying to run the build, however if I remove this build step the build runs.
"Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak build configuration requirements."
Below is a screen shot of the build step configuration. If anyone has any ideas how to fix this please let me know.
Thanks
Upvotes: 1
Views: 2767
Reputation: 3367
Inside your configuration, on the left panel, you have a submenu: Agent Requirements
.
Inside it, you have all Build Steps Requirements
. In your case, you should have:
powershell_x86
Then, bellow this block you can see the Agents compatibility
. In your case, your agent seems to be on the right side, under the Uncompatible agents
with unmet requirement: powershell_x86 exists
.
You should ensure that there is no errors. Click on your agent, and on Agent Parameters
tab, Configuration Parameters
sub tab, you should see :
If it doesn't appears, then, powershell is not installed. Or you have installed it after starting your agent. In this case, just restart your service agent after installing powershell.
Upvotes: 1
Reputation: 697
There may be two reasons :
This is occures when particular software is not installed on the TeamCity Agent server
Upvotes: 0