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.
This commit is contained in:
Alessandro Arzilli
2022-12-19 17:15:00 +01:00
committed by GitHub
parent 72c77b1c30
commit 32df4071d2
2 changed files with 1 additions and 2 deletions

View File

@ -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" -> {

View File

@ -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
}