From 4daaf42aea7326b4d5db53599ac0536a8f0b2f57 Mon Sep 17 00:00:00 2001 From: AndreyKoltsov1997 Date: Tue, 26 Sep 2023 13:50:36 +0200 Subject: [PATCH] Add VCS root with branch specification allowing to execute configuration from any branch @ scheduled build of Docker images. --- .../common/TeamCityDockerImagesRepo_AllBranches.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .teamcity/common/TeamCityDockerImagesRepo_AllBranches.kt diff --git a/.teamcity/common/TeamCityDockerImagesRepo_AllBranches.kt b/.teamcity/common/TeamCityDockerImagesRepo_AllBranches.kt new file mode 100644 index 000000000..23d90d3f7 --- /dev/null +++ b/.teamcity/common/TeamCityDockerImagesRepo_AllBranches.kt @@ -0,0 +1,14 @@ +package common + +import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot + +/** + * teamcity-docker-images that allow execution from each branch. The use must be limited to development ... + * ... configurations only. + */ +object TeamCityDockerImagesRepo_AllBranches: GitVcsRoot({ + name = "TeamCity Docker Images - All Branches" + url = "https://github.com/JetBrains/teamcity-docker-images.git" + branchSpec = "+:refs/heads/*" + branch = "refs/heads/%teamcity.branch%" +}) \ No newline at end of file