Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enablePullRequestFeature (5.04 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 {
                quietPeriodMode = VcsTrigger.QuietPeriodMode.DO_NOT_USE
    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

        )
    
    """.trimIndent()
    
    fun BuildFeatures.publishBuildStatusToGithub(model: CIBuildModel) {
        if (model.publishStatusToGitHub) {
            publishBuildStatusToGithub()
        }
    }
    
    fun BuildFeatures.enablePullRequestFeature() {
        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider = github {
                authType = token {
                    token = "%github.bot-teamcity.token%"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top