From 9ae8eca6a1be6f1991b25ec5e2ce4088c6fa661b Mon Sep 17 00:00:00 2001 From: achi <chichkov@lers.ru> Date: Fri, 17 Jan 2025 15:48:07 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=82=D0=B8=D0=BF=D1=8B=20=D0=B4=D0=B0=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=B2=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Handle-PullRequestComment.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Handle-PullRequestComment.ps1 b/Handle-PullRequestComment.ps1 index 0367dbf..519efc2 100644 --- a/Handle-PullRequestComment.ps1 +++ b/Handle-PullRequestComment.ps1 @@ -1,7 +1,7 @@ param( [Parameter(Mandatory=$true)] [string] $teamCityToken, [Parameter(Mandatory=$true)] [string] $branch, - [Parameter] [bool] $web + [Parameter] [string] $web ) $scriptDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent @@ -11,7 +11,7 @@ Write-Output "Starting tests in $branch" & $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_FullTests" & $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_ReleaseBuild" -if ($web) +if ($web -eq "true") { Write-Host "Running web tests" & $scriptDir/Run-TeamCityBuild.ps1 -token $teamCityToken -branch $branch -buildId "LU_Tests_WebTests"