File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 $vstsCommandString = "vso[task.setvariable variable=VSS_NUGET_EXTERNAL_FEED_ENDPOINTS]$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
8888 Write-Host "sending " + $vstsCommandString
8989 Write-Host "##$vstsCommandString"
90- $plain = ConvertFrom-SecureString $($azt.Token) -AsPlainText
91- write-host "plain: $plain"
9290 displayName : ' Setup Azure Artifacts Credential Provider secret'
9391 condition : eq(${{ parameters.useAzAuth }}, false)
9492
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ Describe 'Test Azure Artifacts Credential Provider' -tags 'CI' {
2525 }
2626
2727 It " Find resource given specific Name and Repository" {
28+ # Get user-level environment variable
29+ $vssVar = Get-ItemProperty - Path " HKCU:\Environment" - Name " VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
30+
31+ Write-Host " $ ( $vssVar.VSS_NUGET_EXTERNAL_FEED_ENDPOINTS ) "
32+
33+ Write-Host " $vssVar "
2834 $res = Find-PSResource - Name $TestModuleName - Repository $ADORepoName - Verbose
2935 $res.Name | Should - Be $TestModuleName
3036 }
You can’t perform that action at this time.
0 commit comments