File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010$helixLinkFile = " $OutputFolder \LinksToHelixTestFiles.html"
1111
12- $accessTokenParam = " "
13- if ($HelixAccessToken )
14- {
15- $accessTokenParam = " ?access_token=$HelixAccessToken "
16- }
1712
1813function Generate-File-Links
1914{
@@ -57,7 +52,6 @@ foreach ($testRun in $testRuns.value)
5752
5853 foreach ($testResult in $testResults.value )
5954 {
60-
6155 $info = ConvertFrom-Json $testResult.comment
6256 $helixJobId = $info.HelixJobId
6357 $helixWorkItemName = $info.HelixWorkItemName
@@ -104,7 +98,10 @@ foreach ($testRun in $testRuns.value)
10498 New-Item $fullPath - ItemType Directory
10599 }
106100
107- $link = " $ ( $pgcFile.Link ) $accessTokenParam "
101+ $link = $pgcFile.Link
102+
103+ Write-Host " Downloading $link to $destination "
104+
108105 $webClient.DownloadFile ($link , $destination )
109106 }
110107 }
You can’t perform that action at this time.
0 commit comments