From 32df4071d2ec832b91cdefda3134f25f12f58985 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Mon, 19 Dec 2022 17:15:00 +0100 Subject: [PATCH] TeamCity: fix windows/amd64 builds (#3223) Windows/amd64 builds are not runnning because the current settings.kts has an implicity requirement to property teamcity.build.systemDir which does not exist on windows/amd64 agents. --- .teamcity/settings.kts | 2 +- _scripts/test_windows.ps1 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index 103a3fa7c4..c57106a48c 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -204,7 +204,7 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso scriptMode = file { path = "_scripts/test_windows.ps1" } - param("jetbrains_powershell_scriptArguments", "-version ${"go$version"} -arch $arch -binDir %teamcity.build.systemDir%") + param("jetbrains_powershell_scriptArguments", "-version ${"go$version"} -arch $arch") } } "mac" -> { diff --git a/_scripts/test_windows.ps1 b/_scripts/test_windows.ps1 index ff5422daeb..751483efab 100644 --- a/_scripts/test_windows.ps1 +++ b/_scripts/test_windows.ps1 @@ -5,7 +5,6 @@ param ( ) if ($binDir -eq "") { - # TODO: remove once the current version of settings.kts gets to master. $binDir = Resolve-Path "../../system" # working directory }