fix error with required agent names

This commit is contained in:
Зеленцов Никита 2023-01-13 00:38:44 +03:00
parent 989f60241b
commit 0a0123c206
2 changed files with 6 additions and 2 deletions

View File

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

View File

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