Skip to content

Commit

Permalink
Addressed bugs raised as a part of bugbash (#7739)
Browse files Browse the repository at this point in the history
* Added powershell helper module

* Replacing Trace-VstsEnteringInvocation with print statement

* Removing Trace-VstsLeavingInvocation $MyInvocation

* Addressed review comments
  • Loading branch information
vinodkumar3 committed Jul 17, 2018
1 parent 4c2214f commit fb5354e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tasks/Common/PowershellHelpers/Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ function Invoke-ActionWithRetries
$RetryMessage
)

Trace-VstsEnteringInvocation $MyInvocation

$lastResult = $null;
$retryIteration = 1
do
Expand Down Expand Up @@ -85,8 +83,6 @@ function Invoke-ActionWithRetries
$retryIteration++
Start-Sleep $RetryIntervalInSeconds
} while ($true)

Trace-VstsLeavingInvocation $MyInvocation
}

function Get-TempDirectoryPath
Expand Down
4 changes: 4 additions & 0 deletions Tasks/ServiceFabricComposeDeployV0/make.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
{
"module": "../Common/Deployment/TelemetryHelper",
"type": "ps"
},
{
"module": "../Common/PowershellHelpers",
"type": "ps"
}
],
"externals": {
Expand Down
4 changes: 4 additions & 0 deletions Tasks/ServiceFabricPowerShellV1/make.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
{
"module": "../Common/Deployment/TelemetryHelper",
"type": "ps"
},
{
"module": "../Common/PowershellHelpers",
"type": "ps"
}
],
"externals": {
Expand Down

0 comments on commit fb5354e

Please sign in to comment.