TeamCity's build agent unable to find PowerShell
Posted
by
cincura.net
on Stack Overflow
See other posts from Stack Overflow
or by cincura.net
Published on 2012-07-02T08:51:38Z
Indexed on
2012/07/02
9:15 UTC
Read the original article
Hit count: 217
I have TC's build agent installed on Windows 2008 R2 SP1 Core. The server has PowerShell 2.0 installed (double checked, and actually from PS downloaded the TC installation). Looking at some build configuration I see these being incompatible with this agent, because powershell_x86
/powershell_x64
is required. I tried deleting build agents dirs to force upgrade, but no luck. Interestingly if I provide powershell_x86
, powershell_x86_Path
(and for 64bit) variables into config file manually, everything runs fine.
Is there anything I can do to have the build agent find PowerShell automatically? What/where is it looking for it? Maybe the 'Core' is problem.
© Stack Overflow or respective owner