Reputation: 421
I just updated my TeamCity server and I am suddenly getting this error message on my build agent.
I made a copy of the old installation, and the buildAgent.properties are the exact same. The Plugin folder for powershell exists aswell.
Does anyone have an idea on how to fix this?
Upvotes: 2
Views: 2316
Reputation: 63
I had the same problem when moved the build agent from windows to linux, and found the solution here.
In short:
Platform
and (Since TeamCity 2017.1) Edition
properties at the PowerShell build step Edit page.
Edition
: on windows Desktop
, on linux Core
Platform
: could be x64
or x86
based on installed versionIf you set these properties correctly, it should meet the requirements, and you can use the build agent as before.
Upvotes: 2