diff --git a/Tasks/PowerShellOnTargetMachines/PowerShellOnTargetMachines.ps1 b/Tasks/PowerShellOnTargetMachines/PowerShellOnTargetMachines.ps1 index 7323a88f7ba4..9c2b1586d940 100644 --- a/Tasks/PowerShellOnTargetMachines/PowerShellOnTargetMachines.ps1 +++ b/Tasks/PowerShellOnTargetMachines/PowerShellOnTargetMachines.ps1 @@ -126,7 +126,6 @@ try Publish-Azure-Telemetry -deploymentResponse $deploymentResponse -jobId $jobId if ($status -ne "Passed") { - Write-Telemetry "DTLSDK_Error" $deploymentResponse.DeploymentSummary Write-Verbose $deploymentResponse.Error.ToString() $errorMessage = $deploymentResponse.Error.Message throw $errorMessage @@ -183,10 +182,6 @@ try if($envOperationStatus -ne "Passed") { - foreach ($error in $dtlsdkErrors) { - Write-Telemetry "DTLSDK_Error" $error - } - $errorMessage = (Get-VstsLocString -Key 'PS_TM_DeploymentOnOneOrMoreMachinesFailed') throw $errorMessage } diff --git a/Tasks/PowerShellOnTargetMachines/task.json b/Tasks/PowerShellOnTargetMachines/task.json index 196ca5a818c0..e51d41704418 100644 --- a/Tasks/PowerShellOnTargetMachines/task.json +++ b/Tasks/PowerShellOnTargetMachines/task.json @@ -13,7 +13,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 3 + "Patch": 4 }, "releaseNotes": "What's new in Version 2.0:
   Removed support of legacy DTL machines.", "minimumAgentVersion": "1.104.0", diff --git a/Tasks/PowerShellOnTargetMachines/task.loc.json b/Tasks/PowerShellOnTargetMachines/task.loc.json index fe1a33ea92a9..b166be6006ad 100644 --- a/Tasks/PowerShellOnTargetMachines/task.loc.json +++ b/Tasks/PowerShellOnTargetMachines/task.loc.json @@ -13,7 +13,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 3 + "Patch": 4 }, "releaseNotes": "ms-resource:loc.releaseNotes", "minimumAgentVersion": "1.104.0",