Skip to content

Commit eabc453

Browse files
committed
DEBUG 5
1 parent ff10725 commit eabc453

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,11 @@ stages:
772772
$env:ModuleVersion = '0.0.1'
773773
./build.ps1 -Task build
774774
dsc resource list --adapter Microsoft.Windows/WindowsPowerShell
775-
Invoke-Pester -Path 'tests/Integration/Resources/DSCv3_DebugDscEngine.Integration.Tests.ps1' -Output Detailed
775+
$result = dsc --trace-level trace resource get --resource SqlServerDsc/DebugDscEngine --output-format json --input ($desiredParameters | ConvertTo-Json -Compress)
776+
$dscExitCode = $LASTEXITCODE
777+
if ($dscExitCode -ne 0) { throw ('DSC executable failed with exit code {0}.' -f $dscExitCode) }
778+
Write-Verbose -Message "Result (all):`n$($result | ConvertTo-Json | Out-String)" -Verbose
779+
#Invoke-Pester -Path 'tests/Integration/Resources/DSCv3_DebugDscEngine.Integration.Tests.ps1' -Output Detailed
776780
name: test
777781
displayName: 'Run Reporting Services Integration Test'
778782

0 commit comments

Comments
 (0)