2019-09-26 21:15:58 +00:00
|
|
|
param(
|
|
|
|
[string] $token
|
|
|
|
)
|
|
|
|
|
2020-01-23 13:30:41 +00:00
|
|
|
|
2019-11-22 13:41:58 +00:00
|
|
|
. $PSScriptRoot\pipeline-logging-functions.ps1
|
|
|
|
|
2020-01-23 13:30:41 +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
|