Skip to content

Commit

Permalink
trace jobResults to debug stream before returning (#7169)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjgupta authored May 10, 2018
1 parent 600cc0c commit 828a2e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tasks/Common/RemoteDeployer/RemoteDeployer.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ function Invoke-RemoteScript {
}

Set-TaskResult -jobResults $jobResults -machinesCount $targetMachines.Length
Write-Verbose "Job results are: "
foreach($jr in $jobResults) {
Write-Verbose ($jr | Out-String)
}
return $jobResults
} finally {
Disconnect-WinRmConnectionToTargetMachines -targetMachines $targetMachines -sessionName $sessionName -sessionOption $sessionOption
Expand Down

0 comments on commit 828a2e5

Please sign in to comment.