0

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

0

We managed to get this fixed by an official developer from JetBrains

Follow his instructions here.

https://teamcity-support.jetbrains.com/hc/en-us/requests/1951317

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.