Skip to content

Commit

Permalink
[PowerShellOnTargetMachines] Remove DTL Sdk Telemetry (#6889) (#6933)
Browse files Browse the repository at this point in the history
* [PowerShellOnTargetMachines] Remove DTL Sdk Telemetry

* Updated task patch version
  • Loading branch information
asranja authored Apr 10, 2018
1 parent 545c021 commit f380395
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PowerShellOnTargetMachines/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 3
"Patch": 4
},
"releaseNotes": "What's new in Version 2.0: <br/>&nbsp;&nbsp; Removed support of legacy DTL machines.",
"minimumAgentVersion": "1.104.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/PowerShellOnTargetMachines/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 3
"Patch": 4
},
"releaseNotes": "ms-resource:loc.releaseNotes",
"minimumAgentVersion": "1.104.0",
Expand Down

0 comments on commit f380395

Please sign in to comment.