Skip to content

Add custom exception messages for PSGallery - #2034

Open
shammu1 wants to merge 1 commit into
PowerShell:masterfrom
shammu1:shammu/aksexceptions
Open

Add custom exception messages for PSGallery#2034
shammu1 wants to merge 1 commit into
PowerShell:masterfrom
shammu1:shammu/aksexceptions

Add custom exception messages for PSGallery

f915f18
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerShell.PSResourceGet failed Sep 11, 2026 in 15m 56s

Build #PowerShell.PSResourceGet-2609.11002 had test failures

Details

Tests

  • Failed: 454 (5.87%)
  • Passed: 6,830 (88.38%)
  • Other: 444 (5.75%)
  • Total: 7,728

Annotations

Check failure on line 24 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L24

PowerShell exited with code '1'.

Check failure on line 7142 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L7142

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 20 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L20

PowerShell exited with code '1'.

Check failure on line 24 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Build log #L24

PowerShell exited with code '1'.

Check failure on line 1 in DSC resource schema tests.Error occurred in Describe block

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

DSC resource schema tests.Error occurred in Describe block

DSC_ROOT environment variable is not set or path does not exist.
Raw output
At /home/vsts/work/1/s/test/DscResource/PSResourceGetDSCResource.Tests.ps1:7 char:9

Check failure on line 1 in Repository Resource Tests.Can get a Repository resource instance

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Repository Resource Tests.Can get a Repository resource instance

The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/DscResource/PSResourceGetDSCResource.Tests.ps1: line 108
108:         $getResult = & $script:dscExe resource get --resource Microsoft.PowerShell.PSResourceGet/Repository --input $resourceInput -o json | ConvertFrom-Json

Check failure on line 1 in Repository Resource Tests.Can set a Repository resource instance

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Repository Resource Tests.Can set a Repository resource instance

The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/DscResource/PSResourceGetDSCResource.Tests.ps1: line 130
130:             & $script:dscExe resource set --resource Microsoft.PowerShell.PSResourceGet/Repository --input $resourceInput

Check failure on line 1 in Repository Resource Tests.Can delete a Repository resource instance

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerShell.PSResourceGet

Repository Resource Tests.Can delete a Repository resource instance

The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
Raw output
at <ScriptBlock>, /home/vsts/work/1/s/test/DscResource/PSResourceGetDSCResource.Tests.ps1: line 157
157:         & $script:dscExe resource delete --resource Microsoft.PowerShell.PSResourceGet/Repository --input $resourceInput