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