File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 87
87
$vstsCommandString = "vso[task.setvariable variable=VSS_NUGET_EXTERNAL_FEED_ENDPOINTS]$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
88
88
Write-Host "sending " + $vstsCommandString
89
89
Write-Host "##$vstsCommandString"
90
- $plain = ConvertFrom-SecureString $($azt.Token) -AsPlainText
91
- write-host "plain: $plain"
92
90
displayName : ' Setup Azure Artifacts Credential Provider secret'
93
91
condition : eq(${{ parameters.useAzAuth }}, false)
94
92
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ Describe 'Test Azure Artifacts Credential Provider' -tags 'CI' {
25
25
}
26
26
27
27
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 "
28
34
$res = Find-PSResource - Name $TestModuleName - Repository $ADORepoName - Verbose
29
35
$res.Name | Should - Be $TestModuleName
30
36
}
You can’t perform that action at this time.
0 commit comments