2019-12-10 18:00:56 +00:00
|
|
|
param(
|
|
|
|
[string] $token
|
|
|
|
)
|
|
|
|
|
2020-07-10 08:44:59 +00:00
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
. $PSScriptRoot\pipeline-logging-functions.ps1
|
|
|
|
|
2020-07-10 08:44:59 +00:00
|
|
|
# Write-PipelineSetVariable will no-op if a variable named $ci is not defined
|
|
|
|
# Since this script is only ever called in AzDO builds, just universally set it
|
|
|
|
$ci = $true
|
|
|
|
|
|
|
|
Write-PipelineSetVariable -Name 'VSS_NUGET_ACCESSTOKEN' -Value $token -IsMultiJobVariable $false
|
|
|
|
Write-PipelineSetVariable -Name 'VSS_NUGET_URI_PREFIXES' -Value 'https://dnceng.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/dnceng/;https://devdiv.pkgs.visualstudio.com/;https://pkgs.dev.azure.com/devdiv/' -IsMultiJobVariable $false
|