Compare commits

...

4 Commits

4 changed files with 7 additions and 3 deletions

BIN
.DS_Store vendored

Binary file not shown.

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

@ -13,7 +13,7 @@ function setup_teamcity_settings($args = array())
$cmd = "git config --get remote.origin.url";
$url = str_replace("\n", "", shell_exec($cmd));
$name = "\"git: ${url}\"";
$name = "\"git: $url\"";
set("TEAM_CITY_SETTINGS_NAME_HERE", $name);
set("TEAM_CITY_SETTINGS_URL_HERE", "\"$url\"");

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