Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TeamCity change in 'Gradle / Promotion' project: 'Gradle Promotion Br…
…anches' VCS root was updated
- Loading branch information
guylabs
authored and
tcserver
committed
Jun 25, 2020
1 parent
c105ee5
commit 8a1cbb4
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
.teamcity/Gradle_Promotion/patches/vcsRoots/e4bc6ac6-ab3f-4459-b4c4-7d6ba6e2cbf6.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package Gradle_Promotion.patches.vcsRoots | ||
|
||
import jetbrains.buildServer.configs.kotlin.v2019_2.* | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.* | ||
import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot | ||
|
||
/* | ||
This patch script was generated by TeamCity on settings change in UI. | ||
To apply the patch, change the vcsRoot with uuid = 'e4bc6ac6-ab3f-4459-b4c4-7d6ba6e2cbf6' (id = 'Gradle_Promotion_GradlePromotionBranches') | ||
accordingly, and delete the patch script. | ||
*/ | ||
changeVcsRoot(uuid("e4bc6ac6-ab3f-4459-b4c4-7d6ba6e2cbf6")) { | ||
val expected = GitVcsRoot({ | ||
uuid = "e4bc6ac6-ab3f-4459-b4c4-7d6ba6e2cbf6" | ||
id("Gradle_Promotion_GradlePromotionBranches") | ||
name = "Gradle Promotion Branches" | ||
url = "https://github.com/gradle/gradle-promote.git" | ||
branchSpec = "+:refs/heads/*" | ||
agentGitPath = "%env.TEAMCITY_GIT_PATH%" | ||
useMirrors = false | ||
authMethod = password { | ||
userName = "gradlewaregitbot" | ||
password = "credentialsJSON:5306bfc7-041e-46e8-8d61-1d49424e7b04" | ||
} | ||
}) | ||
|
||
check(this == expected) { | ||
"Unexpected VCS root settings" | ||
} | ||
|
||
(this as GitVcsRoot).apply { | ||
authMethod = password { | ||
userName = "bot-teamcity" | ||
password = "credentialsJSON:5fe7c16b-cef8-4e22-a305-52f6ae768b72" | ||
} | ||
} | ||
|
||
} |