Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 1202 (#16936)
Browse files Browse the repository at this point in the history
* Add debugging link on resource deployment failures to log output

* Update aka link for live test help docs. Use here string and empty throw.

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
  • Loading branch information
azure-sdk and benbp authored Nov 13, 2020
1 parent e9e3b78 commit 9a41603
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eng/common/TestResources/New-TestResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,14 @@ foreach ($templateFile in $templateFiles) {
$DebugPreference = "Continue"
}
New-AzResourceGroupDeployment -Name $BaseName -ResourceGroupName $resourceGroup.ResourceGroupName -TemplateFile $templateFile -TemplateParameterObject $templateFileParameters
} catch {
Write-Output @"
==================================================
For help debugging live test provisioning issues,
see http://aka.ms/azsdk/engsys/live-test-help,
==================================================
"@
throw
} finally {
$DebugPreference = $lastDebugPreference
}
Expand Down

0 comments on commit 9a41603

Please sign in to comment.