File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments