Skip to content

Commit 2d995f8

Browse files
committed
DEBUG 5
1 parent edde7e4 commit 2d995f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

azure-pipelines.yml

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

0 commit comments

Comments
 (0)