From 0a0123c206e16c3d37cfcd1a6cdf21a1a6d0523d Mon Sep 17 00:00:00 2001 From: Nikita Zelencov Date: Fri, 13 Jan 2023 00:38:44 +0300 Subject: [PATCH] fix error with required agent names --- CHANGELOG.md | 4 ++++ teamcity/settings.kts.in | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70bc9ed..d78ffc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.3.2] - 2023-01-12 +### Fixed requirements +- Key words for required agent names + ## [1.3.1] - 2023-01-10 ### Changed - Move one of agent from ios to android diff --git a/teamcity/settings.kts.in b/teamcity/settings.kts.in index 83d034f..246a2cd 100644 --- a/teamcity/settings.kts.in +++ b/teamcity/settings.kts.in @@ -122,7 +122,7 @@ open class BuildAndroidType(name_suffix : String, environment : String) : } requirements { - equals("teamcity.agent.name", "(Default Agent|Default Agent 2)") + matches("teamcity.agent.name", "(Default Agent|Default Agent 2)") } } ) @@ -176,7 +176,7 @@ open class BuildIOSType(name_suffix : String, environment : String) : } requirements { - matches("teamcity.agent.name", "Default Agent 3") + equals("teamcity.agent.name", "Default Agent 3") } }) {}