- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for branchName (0.11 seconds)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
get() = isMaster || isRelease val isMaster: Boolean get() = branchName == MASTER_BRANCH val isRelease: Boolean get() = branchName == RELEASE_BRANCH val isLegacyRelease: Boolean get() = OLD_RELEASE_PATTERN.matchEntire(branchName) != null val isExperimental: Boolean get() = branchName == EXPERIMENTAL_BRANCH fun vcsRootId() = DslContext.settingsRoot.id.toString()
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2.5K bytes - Click Count (0) -
.teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt
"release6x, 2", "release7x, 3", "release27x,23", ], ) fun branchesWithVcsTriggerEnabled( branchName: String, expectedNightlyPromotionTriggerHour: Int?, ) { val vsb = VersionedSettingsBranch(branchName) assertEquals(expectedNightlyPromotionTriggerHour, vsb.determineNightlyPromotionTriggerHour()) } @ParameterizedTest @ValueSource(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
*/ fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? { val oldReleasePattern = "release(\\d+)x".toRegex() return when (branchName) { "master" -> 0 "release" -> 1 else -> { val matchResult = oldReleasePattern.find(branchName) if (matchResult == null) { null } else { (matchResult.groupValues[1].toInt() - 4).apply {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 4.3K bytes - Click Count (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
} private fun setupModelFor(branchName: String): PromotionProject { // Set the project id here, so we can use methods on the DslContext DslContext.projectId = AbsoluteId("Gradle_${branchName.toCapitalized()}") DslContext.addParameters("branch" to branchName) return PromotionProject(VersionedSettingsBranch(branchName)) } private fun gradleStep(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:41:54 GMT 2025 - 15.3K bytes - Click Count (1) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
} filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}" } } } fun BaseGradleBuildType.tcParallelTests(numberOfBatches: Int) { if (numberOfBatches > 1) { params { param("env.TEAMCITY_PARALLEL_TESTS_ENABLED", "1")Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 8.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
"-Dorg.gradle.workers.max=$maxParallelForks", "-PmaxParallelForks=$maxParallelForks", PLUGINS_PORTAL_URL_OVERRIDE, buildScanCustomValueParam("tcPipeline", VersionedSettingsBranch.fromDslContext().branchName), "-s", "%additional.gradle.parameters%", if (isContinue) "--continue" else "", ) fun Dependencies.dependsOn(buildTypeId: RelativeId) { dependency(buildTypeId) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 14.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishRelease.kt
) : PublishRelease( promotedBranch = branch.branchName, prepTask = "prepMilestone", promoteTask = branch.promoteMilestoneTaskName(), requiredConfirmationCode = "milestone", init = { id(MILESTONE_BUILD_CONFIGURATION_ID) name = "Release - Milestone" description = "Promotes the latest successful change on '${branch.branchName}' as a new milestone" },
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 4K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
promotedBranch = branch.branchName, promoteTask = "publishBranchDocs", triggerName = StageName.PULL_REQUEST_FEEDBACK.uuid, ) { init { id("Promotion_NightlyDocumentation") name = "Nightly Documentation" description = "Promotes the latest successful documentation changes on '${branch.branchName}' from Ready for Nightly as a new nightly documentation snapshot"Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/MergeReleaseIntoMaster.kt
buildType = "Gradle_${vcsBranch.branchName.uppercase()}_${NIGHTLY_SNAPSHOT_BUILD_ID}" successfulOnly = true branchFilter = "+:*" } } } dependencies { dependency( AbsoluteId("Gradle_${vcsBranch.branchName.uppercase()}_${NIGHTLY_SNAPSHOT_BUILD_ID}"), ) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 10 10:38:00 GMT 2025 - 2.3K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt
triggers.vcs { quietPeriodMode = VcsTrigger.QuietPeriodMode.DO_NOT_USE branchFilter = determineBranchFilter(listOf("gh-readonly-queue/${model.branch.branchName}/*", model.branch.branchName)) } } dependencies { snapshot(RelativeId(stageTriggerId(model, StageName.READY_FOR_NIGHTLY))) { onDependencyFailure = FailureAction.FAIL_TO_STARTCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Oct 14 16:28:05 GMT 2025 - 1.7K bytes - Click Count (0)