Open pts-mga opened 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:
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"
Output in rundeck:
Used in rundeck: Rundeck 4.13.0 with latest overthere-winrm plugin
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:Output in rundeck:
Used in rundeck: Rundeck 4.13.0 with latest overthere-winrm plugin