Jannik
Jannik

Reputation: 421

Teamcity Unmet Requirements: powershell_x86_Edition equals Desktop

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

Answers (1)

Csaba
Csaba

Reputation: 63

I had the same problem when moved the build agent from windows to linux, and found the solution here.

In short:

  1. Make sure powershell is installed on the server where the build agent is running.
  2. You can set 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 version

If you set these properties correctly, it should meet the requirements, and you can use the build agent as before.

Upvotes: 2

Related Questions