Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fromDslContext (0.96 sec)

  1. .teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt

                        // We want it to be triggered only when there're pending changes in the specific vcs root, i.e. GradleMaster/GradleRelease
                        triggerRules = "+:root=${VersionedSettingsBranch.fromDslContext().vcsRootId()}:."
                        branchFilter = "+:<default>"
                    }
                }
            }
        }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Apr 30 14:48:06 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/SanityCheck.kt

    object SanityCheck : BuildType({
        id("Promotion_SanityCheck")
        name = "SanityCheck"
        description = "Sanity check for promotion project"
    
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().gradlePromoteVcsRootId())
    
        steps {
            gradleWrapper {
                tasks = "tasks"
                gradleParams = ""
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 983 bytes
    - Viewed (0)
  3. .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 {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        if (model.publishStatusToGitHub) {
            publishBuildStatusToGithub()
        }
    }
    
    fun BuildFeatures.enablePullRequestFeature() {
        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider =
                github {
                    authType =
                        token {
                            token = "%github.bot-teamcity.token%"
                        }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 12:58:05 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. .teamcity/settings.kts

     |        |----- Nightly Snapshot
     |        |----- ...
     |
     |----- Util
             |----- WarmupEc2Agent
             |----- AdHocPerformanceTest
     */
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Aug 14 07:58:26 UTC 2025
    - 1.2K bytes
    - Viewed (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",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 10 10:38:00 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

                }
            }
    
            val enableTriggers = VersionedSettingsBranch.fromDslContext().enableVcsTriggers
            triggers {
                vcs {
                    branchFilter = "+:master"
                    enabled = enableTriggers
                }
                schedule {
                    schedulingPolicy =
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. .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",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 24 03:08:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. .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 {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. .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"))
    
            private fun determineNightlyPromotionTriggerHour(branchName: String) =
                when (branchName) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 09:57:45 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top