2024-10-23 22:09:19 +10:00
|
|
|
param(
|
|
|
|
[Parameter(Mandatory=$true)] [string] $teamCityToken,
|
2025-01-17 15:39:43 +10:00
|
|
|
[Parameter(Mandatory=$true)] [string] $branch,
|
2025-01-17 15:48:07 +10:00
|
|
|
[Parameter] [string] $web
|
2024-10-23 22:09:19 +10:00
|
|
|
)
|
|
|
|
|
|
|
|
$scriptDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
|
|
|
|
|
2024-10-24 10:03:12 +10:00
|
|
|
Write-Output "Starting tests in $branch"
|
2024-10-23 22:09:19 +10:00
|
|
|
|
2024-10-24 10:03:12 +10:00
|
|
|
& $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_FullTests"
|
|
|
|
& $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_ReleaseBuild"
|
2024-10-23 22:09:19 +10:00
|
|
|
|
2025-01-17 15:48:07 +10:00
|
|
|
if ($web -eq "true")
|
2024-10-23 22:09:19 +10:00
|
|
|
{
|
|
|
|
Write-Host "Running web tests"
|
|
|
|
& $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_Tests_WebTests"
|
|
|
|
}
|