2019-10-30 21:34:42 +03:00
|
|
|
|
Param(
|
|
|
|
|
[Parameter(mandatory=$true)]
|
|
|
|
|
[String]$1esPat,
|
|
|
|
|
[Parameter(mandatory=$true)]
|
|
|
|
|
[String]$cbPat,
|
|
|
|
|
[Parameter(mandatory=$true)]
|
|
|
|
|
[String]$ncPath,
|
|
|
|
|
[Parameter(mandatory=$true)]
|
|
|
|
|
[String]$msEngGitPat,
|
|
|
|
|
[Parameter(mandatory=$true)]
|
|
|
|
|
[String]$args
|
|
|
|
|
)
|
|
|
|
|
[Environment]::SetEnvironmentVariable("MSENG_GIT_PAT", $msEngGitPat, "Process")
|
2021-02-26 03:10:35 +03:00
|
|
|
|
[Environment]::SetEnvironmentVariable("VSS_NUGET_EXTERNAL_FEED_ENDPOINTS", "
|
|
|
|
|
{
|
|
|
|
|
'endpointCredentials': [
|
|
|
|
|
{'endpoint':'https://pkgs.dev.azure.com/1essharedassets/_packaging/BuildXL/nuget/v3/index.json', 'password':'$1esPat'},
|
|
|
|
|
{'endpoint':'https://pkgs.dev.azure.com/cloudbuild/_packaging/BuildXL.Selfhost/nuget/v3/index.json', 'password':'$cbPat'}
|
|
|
|
|
]
|
|
|
|
|
}", "Process")
|
|
|
|
|
|
2019-10-30 21:34:42 +03:00
|
|
|
|
.\RunCheckInTests.cmd /lab $args /internal
|