Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
9.2.11
-
None
-
2
-
Severity 3 - Minor
-
Description
Issue Summary
Bamboo build logs displays special character for the output of Windows PsTools commands.
Steps to Reproduce
1. Download Windows PsTools via https://learn.microsoft.com/en-us/sysinternals/downloads/pstools and unzip and keep it within a location in your Windows machine, for example > C:\Users\admin\Downloads\PSTools
2. In your Bamboo plans configure a script task and add the below commands, make sure to choose the Interpreter as Windows Powershell.
echo "hello"
C:\Users\admin\Downloads\PSTools\PsExec -v
3. Please make sure to change the Bamboo Server and the Windows remote agent encoding as UTF-8 by following the steps at How to change the wrong encoding in Bamboo that is causing crashes or characters to display incorrectly
4. Run the plan on Windows remote agent
Expected Results
The Build result should display the output correctly.
Actual Results
The Build result display the output as some special characters probably because the output of command is not in UTF-8 format.
Output seen in Build logs
build 20-Mar-2024 13:28:46 �� build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 �P�s�E�x�e�c� �v�2�.�4�3� �-� �E�x�e�c�u�t�e� �p�r�o�c�e�s�s�e�s� �r�e�m�o�t�e�l�y� build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 �C�o�p�y�r�i�g�h�t� �(�C�)� �2�0�0�1�-�2�0�2�3� �M�a�r�k� �R�u�s�s�i�n�o�v�i�c�h� build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 �S�y�s�i�n�t�e�r�n�a�l�s� �-� �w�w�w�.�s�y�s�i�n�t�e�r�n�a�l�s�.�c�o�m� build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 � build 20-Mar-2024 13:28:46 �S�Y�S�I�N�T�E�R�N�A�L�S� �S�O�F�T�W�A�R�E� �L�I�C�E�N�S�E� �T�E�R�M�S� build 20-Mar-2024 13:28:46 �
Workaround
None at the moment, it will be added if found later.
Attachments
Issue Links
- mentioned in
-
Page Loading...