- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for fromDslContext (0.06 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/src/main/kotlin/util/WarmupEc2Agent.kt
import vcsroots.useAbsoluteVcs object WarmupEc2Agent : BuildType({ name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId()) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 12 09:12:03 GMT 2025 - 1.2K 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/PublishKotlinDslPlugin.kt
name = "Publish Kotlin DSL Plugin" id("Util_PublishKotlinDslPlugin") uuid = "${DslContext.uuidPrefix}_Util_PublishKotlinDslPlugin" vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId()) requirements { requiresOs(Os.LINUX) } params { param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 19 08:02:04 GMT 2025 - 1.8K 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)