Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for VersionedSettingsBranch (0.12 seconds)

  1. .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
            get() = branchName == MASTER_BRANCH
    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)
  2. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import common.VersionedSettingsBranch
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import org.junit.jupiter.params.provider.ValueSource
    import promotion.determineNightlyPromotionTriggerHour
    
    /*
     * Copyright 2023 the original author or authors.
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt

     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.triggers.schedule
    import model.StageName
    
    class PublishNightlyDocumentation(
        branch: VersionedSettingsBranch,
    ) : PublishGradleDistributionFullBuild(
            promotedBranch = branch.branchName,
            promoteTask = "publishBranchDocs",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. .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 {
            requiresOs(Os.LINUX)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 18 14:06:58 GMT 2026
    - 866 bytes
    - Click Count (0)
  5. .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 {
    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)
  6. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    
    const val FINAL_RELEASE_BUILD_CONFIGURATION_ID = "Promotion_FinalRelease"
    const val RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID = "Promotion_ReleaseCandidate"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
    import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger.SchedulingPolicy
    import jetbrains.buildServer.configs.kotlin.triggers.schedule
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. .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)
  9. .teamcity/src/main/kotlin/projects/GradleBuildToolRootProject.kt

    import common.VersionedSettingsBranch
    import common.isSecurityFork
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.DefaultFunctionalTestBucketProvider
    import model.JsonBasedGradleSubprojectProvider
    import promotion.PromotionProject
    import util.UtilPerformanceProject
    import util.UtilProject
    import java.io.File
    
    class GradleBuildToolRootProject(
        branch: VersionedSettingsBranch,
    ) : Project({
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 10:41:06 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. .teamcity/settings.kts

    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.project
    import jetbrains.buildServer.configs.kotlin.version
    import projects.GradleBuildToolRootProject
    
    version = "2025.11"
    
    /*
    
    Master (buildTypeId: Gradle_Master)
     |----- Check (buildTypeId: Gradle_Master_Check)
     |        |---- QuickFeedbackLinux (buildTypeId: Gradle_Master_Check_QuickFeedbackLinux)
     |        |---- QuickFeedback
     |        |---- ...
    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)
Back to Top