- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for fromDslContext (0.12 seconds)
-
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
private const val GRADLE_PROMOTE_EXPERIMENTAL_VCS_ROOT_ID = "Gradle_GradlePromoteExperimental" private val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex() fun fromDslContext(): VersionedSettingsBranch = VersionedSettingsBranch(DslContext.getParameter("branch")) } val isMainBranch: Boolean get() = isMaster || isRelease val isMaster: Boolean
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/main/kotlin/promotion/SanityCheck.kt
vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().gradlePromoteVcsRootId()) steps { gradleWrapper { tasks = "tasks" gradleParams = "" } } triggers { vcs { branchFilter = "" enabled = VersionedSettingsBranch.fromDslContext().isMainBranch } } requirements {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 18 14:06:58 GMT 2026 - 866 bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
} } } fun BuildFeatures.publishBuildStatusToGithub() { if (VersionedSettingsBranch.fromDslContext().isExperimental) { // don't publish xperimental commit status that might bother developer return } commitStatusPublisher { vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId() publisher = github {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/configurations/GitHubMergeQueueCheckPass.kt
vcs { root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId())) checkoutMode = CheckoutMode.ON_AGENT } features { enablePullRequestFeature() publishBuildStatusToGithub(model) } if (!VersionedSettingsBranch.fromDslContext().isExperimental) { triggers.vcs {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Oct 14 16:28:05 GMT 2025 - 1.7K bytes - Click Count (0) -
.teamcity/settings.kts
| |----- Nightly Snapshot | |----- ... | |----- Util |----- WarmupEc2Agent |----- AdHocPerformanceTest */Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 21 06:00:14 GMT 2026 - 1.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
import promotion.RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID import vcsroots.useAbsoluteVcs object UpdateWrapper : BuildType({ name = "UpdateWrapper" id("UpdateWrapper") val vcsBranch = VersionedSettingsBranch.fromDslContext() vcs.useAbsoluteVcs(vcsBranch.vcsRootId()) requirements { requiresOs(Os.LINUX) } params { text( "wrapperVersion", "should-be-overridden",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 2.7K bytes - Click Count (0) -
.teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt
private val model = CIBuildModel( projectId = "Check", branch = VersionedSettingsBranch.fromDslContext(), buildScanTags = listOf("Check"), subprojects = subprojectProvider, ) @Test fun `test stage tags`() { assertEquals(Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Aug 05 16:58:51 GMT 2025 - 1.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/MergeReleaseIntoMaster.kt
init { id("Promotion_MergeReleaseIntoMaster") name = "Merge Release into Master" description = "Merge Release into Master" val vcsBranch = VersionedSettingsBranch.fromDslContext() steps { gradleWrapper { name = "Merge Release into Master" tasks = listOf( "updateReleaseVersionsOnMaster",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/promotion/StartReleaseCycleTest.kt
} } val enableTriggers = VersionedSettingsBranch.fromDslContext().isMainBranch triggers { vcs { branchFilter = "+:master" enabled = enableTriggers } schedule { schedulingPolicy =Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt
abstract class BasePromotionBuildType( cleanCheckout: Boolean = true, ) : BuildType() { init { vcs { root(AbsoluteId(VersionedSettingsBranch.fromDslContext().gradlePromoteVcsRootId())) checkoutMode = CheckoutMode.ON_AGENT this.cleanCheckout = cleanCheckout showDependenciesChanges = true } requirements {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 2.2K bytes - Click Count (0)