Incompatible runner: PowerShell - MAC agent
Hi All,
We are having some issues setting up a new MAC Agent.
We need the MAC Agent to support Powershell which is should acording to this: Since TeamCity 2017.1, TeamCity provides support for PowerShell on Linux and Mac OS
How should this be setup on the MAC Agent?
Please sign in to leave a comment.
Hi Mir,
If you download the package and install it as explained here:
https://confluence.jetbrains.com/display/TCD10/PowerShell
Then it should be autodetected and work. Could you expand on what the issue is? What problems/errors are you facing?
Hi,
We've added the powershell package to the Mac build agent however the team city server does not show the agent as a powershell build runner and compatibility fails on the params:
powershell_x86 exists
powershell_x86_Edition equals Desktop
I've restarted the agent but still seems to be same issue. Any ideas?
Same issue here. OSX Build server has powershell installed, in terminal typing pwsh opens a powershell command prompt. Teamcity agent has been restarted, however Teamcity reports the agent does not support powershell.
Hi Andrew,
please make sure that the user who is running the build agent process has the pwsh executable in its path, and that the user running the agent has permissions for it. If it wasn't in the path, you might need to restart the full session, not just the process. If it's not automatically detected, that usually means that it's not reachable by the build agent's process for some reason. If the binary has been renamed, or doesn't have permissions, or if a new version has made incompatible with our detection algorithm, that might need a newer version of TeamCity to work.
If none of this applies, please specify:
-OS Version
-TeamCity version
-Powershell version
-Location and permissions of the executable.
Hi Denis,
I solved this by updating to TeamCity 2018.2.4. I read somewhere that 2017.2.2 was the minimum version to support Powershell on a Mac.