rundeck-plugins / rundeck-winrm-plugin

UNMAINTAINED - Rundeck WinRM Node Executor plugin
Other
56 stars 28 forks source link

Incorrect ordering of StdErr and StdOut Output of powershell scripts #80

Open pts-mga opened 1 year ago

pts-mga commented 1 year ago

The Ordering of Outpout in StdErr and StdOut from powershell-Scripts are not listed in the correct order.

Example-Script: Write-Host "Step 1" Start-Sleep -Seconds 2 Write-Host "Step 2" Write-Error "Error after Step 2" Start-Sleep -Seconds 2 Write-Host "Step 3" Write-Error "Error after Step 3" Write-Host "End" Correct output: image

Output in rundeck: image

Used in rundeck: Rundeck 4.13.0 with latest overthere-winrm plugin