Hello,
After upgrading from 6.1 to 6.6 execution of inline PowerShell scripts seems to have had their encoding broken.
The system encoding was Cp1252 and this was the encoding of the PowerShell interpreter. However the encoding of the resulting script file from the Bamboo inline script appears to be in UTF-8 and as such the execution of the script will result in failure.
I’ve tried to change the system encoding (according to: https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html) but this did not solve the problem described.
I’ve checked the bamboo database (`Microsoft SQL Server 2014 - 12.0.2000.8 (X64) Feb 20 2014 20:04:26 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)`) where the majority of the tables and columns seems to have ` collation_name = Finnish_Swedish_CS_AS` which seems fine to me.
If possible I guess I would like to force same encoding for interpreter and script file.
Thankful for any advice.
Thomas
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.