Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-AzureRMTemplate output string contains incorrect report file path #237

Closed
wangshayu opened this issue Jun 22, 2017 · 1 comment
Closed
Assignees
Labels

Comments

@wangshayu
Copy link
Contributor

This cmdlet output the report file to the default path which should be working directory while in the output message it tells the report file is located at $PSScriptRoot\xxx

  $reportHtml = $title + $validationSummary + $reportXml.OuterXml|Out-String
	ConvertTo-Html  $postContent -head $head -Body $reportHtml | out-File $Report
}
$reportFilePath = Join-Path $PSScriptRoot $Report
Write-Output "Validation Summary:
`Passed: $passedCount
`NotSupported: $notSupportedCount
`Exception: $exceptionCount
`Warning: $warningCount
`Recommend: $recommendCount
`Total Templates: $totalCount"
Write-Output "Report available at - $reportFilePath"
deepaft added a commit to deepaft/AzureStack-Tools that referenced this issue Dec 20, 2018
…files and Azure#237 & Azure#367 Test-AzureRMTemplate output string contains incorrect report file path
knithinc pushed a commit that referenced this issue Jan 9, 2019
… and #237 & #367 Test-AzureRMTemplate output string contains incorrect report file path (#486)
@knithinc
Copy link
Contributor

knithinc commented Jan 9, 2019

Fixed.

@knithinc knithinc closed this as completed Jan 9, 2019
knithinc added a commit that referenced this issue Jan 11, 2019
…Profiles and #237 & #367 Test-AzureRMTemplate output string contains incorrect report file path (#486)"

This reverts commit e7c7c9c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants