You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The customer was using a script to get the hostname of a machine on a deployment, then looping through this and displaying the name pre-2024.1, and this was working correctly. Now since they've upgraded to 2024.1, an extra machine is being pushed into the group (Machines-1) causing errant data to be created. Tested this internally going from 2023.4 to 2024.1 on-prem and while I didn't get an actual value pushed into the hostname list I did get a blank entry, which I feel shouldn't be there.
User is using the following line: 'Set-OctopusVariable -name "MachineHostnames" -value #{Octopus.Machine.Hostname}' Customer has a workaround.
Severity
Sev-3-Low - Not Blocking
Version
2024.1.11885
Latest Version
I could reproduce the problem in the latest build
What happened?
The customer was using a script to get the hostname of a machine on a deployment, then looping through this and displaying the name pre-2024.1, and this was working correctly. Now since they've upgraded to 2024.1, an extra machine is being pushed into the group (Machines-1) causing errant data to be created. Tested this internally going from 2023.4 to 2024.1 on-prem and while I didn't get an actual value pushed into the hostname list I did get a blank entry, which I feel shouldn't be there.
User is using the following line: 'Set-OctopusVariable -name "MachineHostnames" -value #{Octopus.Machine.Hostname}' Customer has a workaround.
Before update:
![image](https://private-user-images.githubusercontent.com/97430840/314941190-ecaa7304-a852-4f2b-a638-3bfe9f87b45d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2NzgxNTEsIm5iZiI6MTcyMDY3Nzg1MSwicGF0aCI6Ii85NzQzMDg0MC8zMTQ5NDExOTAtZWNhYTczMDQtYTg1Mi00ZjJiLWE2MzgtM2JmZTlmODdiNDVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDA2MDQxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmOWM5ZmM5ZGZhMzlmOGJhYTg5MjA4MGExMmI4MjdlOTU1MTk5ZWIzZGYxNzVkOTk0NDVlNThmNGY4OWZlODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mkHfz9fdwT_a_68ae5pOR7zFpqi1XfXlC5tUeD-UXuQ)
After update:
![image](https://private-user-images.githubusercontent.com/97430840/314941504-5831498c-41ed-443a-acce-8e458c846bd4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2NzgxNTEsIm5iZiI6MTcyMDY3Nzg1MSwicGF0aCI6Ii85NzQzMDg0MC8zMTQ5NDE1MDQtNTgzMTQ5OGMtNDFlZC00NDNhLWFjY2UtOGU0NThjODQ2YmQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDA2MDQxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFkOGIwZWZjN2NlY2FlNGMyMDk3ZTRjNDBmZGRmYWFkMzU3ZmQwMTM2N2E0ODlkZDhiMDViYTczMjJhYWRmODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7Wjcpgb-v58aWdkpxmpL0x4hPyjr5Pe2VU-1_NUtw2w)
Reproduction
Create a script step with this script:
Then a second script step with this script:
Error and Stacktrace
No response
More Information
No response
Workaround
No response
The text was updated successfully, but these errors were encountered: