TC Version : TeamCity Enterprise 2017.1.4 (build 47070)
Linux Version: Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-43-generic x86_64)
Powershell Core Version: 6.1.2
I'm having some trouble in teamcity getting the build agent to recognize that it has powershell core installed.
I installed the agent under my user account. Then i installed powershell here https://github.com/PowerShell/PowerShell#get-powershell
Team city server reports the agent correctly
However i noticed that it couldn't serve powershell requests
Incompatible runner: PowerShell Unmet requirements: Exists=>(powershell_x86|powershell_x64) exists
Looking at the agent logs i get these three lines.
INFO - try.RegistryPowerShellDetector - Detecting PowerShell using RegistryPowerShellDetector
INFO - try.RegistryPowerShellDetector - RegistryPowerShellDetector is only available on Windows
INFO - agent.PowerShellServiceFactory - PowerShell runner is disabled: PowerShell was not found.
Is there something im missing? i've restarted the team cityagent and no luck