Skip to content

Commit 1ae81db

Browse files
committed
Try adding username to endpoints value
1 parent 324ab1b commit 1ae81db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@ jobs:
8282
$ADORepoUri = "https://pkgs.dev.azure.com/powershell-rel/PSResourceGet/_packaging/psrg-credprovidertest/nuget/v2"
8383
8484
85-
$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS = "{'endpointCredentials': [{'endpoint':$($ADORepoUri), 'password':$($azt.Token)}]}"
85+
$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS = "{'endpointCredentials': [{'endpoint':$($ADORepoUri), 'username': 'AzureDevOps', 'password':$($azt.Token)}]}"
8686
8787
$vstsCommandString = "vso[task.setvariable variable=VSS_NUGET_EXTERNAL_FEED_ENDPOINTS]$VSS_NUGET_EXTERNAL_FEED_ENDPOINTS"
8888
Write-Host "sending " + $vstsCommandString
89-
Write-Host "sending azt $($azt.Token)"
9089
Write-Host "##$vstsCommandString"
9190
displayName: 'Setup Azure Artifacts Credential Provider secret'
9291
condition: eq(${{ parameters.useAzAuth }}, false)

0 commit comments

Comments
 (0)