Hi all,
How does Bamboo finds powershell to run the scripts?
I have Bamboo running on Windows 2008 R2, which comes with powershell version 2. I can run powershell scripts with the script task without any problem.
I have to update raygun.io so I need powershell version 3, which I installed with https://www.microsoft.com/en-us/download/details.aspx?id=34595
The install seems successful, the machine runs now with powershell version 3, however Bamboo is just unable to run any powershell script from the script task. The exception that I see in the logs is
Caused by: java.io.IOException: Cannot run program "powershell" (in directory "D:\Atlassian\bamboo-home\xml-data\build-dir\FSB-TR-JOB1"): CreateProcess error=2, The system cannot find the file specified
powershell is in the system path, so I'd think it shouldn't be hard to actually run those powershell scripts.
Does anyone know the configuration such that Bamboo can execute powershell scripts again?
thanks
Fred
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.