Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for fromDslContext (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. .teamcity/settings.kts

     |        |----- Nightly Snapshot
     |        |----- ...
     |
     |----- Util
             |----- WarmupEc2Agent
             |----- AdHocPerformanceTest
     */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 14 07:58:26 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 05 16:58:51 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

                }
            }
    
            val enableTriggers = VersionedSettingsBranch.fromDslContext().isMainBranch
            triggers {
                vcs {
                    branchFilter = "+:master"
                    enabled = enableTriggers
                }
                schedule {
                    schedulingPolicy =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 10:38:00 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 14 10:56:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. .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 Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            param("env.BUILD_BRANCH", "%teamcity.build.branch%")
        }
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
            branchFilter = branchesFilterExcluding()
        }
    
        features {
            enablePullRequestFeature()
        }
    
        requirements {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

        private val model =
            CIBuildModel(
                projectId = "Check",
                branch = VersionedSettingsBranch.fromDslContext(),
                buildScanTags = listOf("Check"),
                subprojects = subprojectProvider,
            )
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top