Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fromDslContext (0.15 sec)

  1. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

        type = Type.COMPOSITE
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
        }
    
        features {
            enablePullRequestFeature()
            publishBuildStatusToGithub(model)
        }
    
        if (!VersionedSettingsBranch.fromDslContext().isExperimental) {
            triggers.vcs {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 07:23:13 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider = github {
                authType = token {
                    token = "%github.bot-teamcity.token%"
                }
                filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
                filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}"
            }
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        private val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch.fromDslContext(),
            buildScanTags = listOf("Check"),
            subprojects = subprojectProvider
        )
    
        @Test
        fun `test stage tags`() {
            assertEquals(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            const val RELEASE_BRANCH = "release"
    
            private
            const val EXPERIMENTAL_BRANCH = "experimental"
    
            private
            val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex()
    
            fun fromDslContext(): VersionedSettingsBranch {
                return VersionedSettingsBranch(DslContext.getParameter("Branch", "placeholder"))
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

            param("env.BUILD_BRANCH", "%teamcity.build.branch%")
        }
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
            branchFilter = branchesFilterExcluding()
        }
    
        features {
            enablePullRequestFeature()
        }
    
        requirements {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top