We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd47961 commit e927eacCopy full SHA for e927eac
.teamcity/utils.kt
@@ -39,8 +39,7 @@ const val DEPLOY_PUBLISH_ID = "Deploy_Publish"
39
40
class KnownBuilds(private val project: Project) {
41
private fun buildWithId(id: String): BuildType {
42
- val fullId = "RootProjectId_$id"
43
- return project.buildTypes.single { it.id.toString() == fullId }
+ return project.buildTypes.single { it.id.toString().endsWith(id) }
44
}
45
46
val buildVersion: BuildType get() = buildWithId(BUILD_CONFIGURE_VERSION_ID)
0 commit comments