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.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events