Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for branchName (0.06 seconds)

  1. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            get() = isMaster || isRelease
        val isMaster: Boolean
            get() = branchName == MASTER_BRANCH
        val isRelease: Boolean
            get() = branchName == RELEASE_BRANCH
        val isLegacyRelease: Boolean
            get() = OLD_RELEASE_PATTERN.matchEntire(branchName) != null
        val isExperimental: Boolean
            get() = branchName == EXPERIMENTAL_BRANCH
    
        fun vcsRootId() = DslContext.settingsRoot.id.toString()
    
    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

                "release6x, 2",
                "release7x, 3",
                "release27x,23",
            ],
        )
        fun branchesWithVcsTriggerEnabled(
            branchName: String,
            expectedNightlyPromotionTriggerHour: Int?,
        ) {
            val vsb = VersionedSettingsBranch(branchName)
            assertEquals(expectedNightlyPromotionTriggerHour, vsb.determineNightlyPromotionTriggerHour())
        }
    
        @ParameterizedTest
        @ValueSource(
    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. build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/internal/fake_git/remote/distribution/archives/build.gradle

        }
    
        tasks.named("assemble").configure {
            dependsOn('tar')
        }
    }
    
    def calculateBranchVersion() {
        File f = rootProject.file(".git/refs/heads/origin")
        def branchName = f.list()?.first().trim()
        return branchName + ".1"
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

     */
    fun VersionedSettingsBranch.determineNightlyPromotionTriggerHour(): Int? {
        val oldReleasePattern = "release(\\d+)x".toRegex()
        return when (branchName) {
            "master" -> 0
            "release" -> 1
            else -> {
                val matchResult = oldReleasePattern.find(branchName)
                if (matchResult == null) {
                    null
                } else {
                    (matchResult.groupValues[1].toInt() - 4).apply {
    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)
  5. .teamcity/src/test/kotlin/PromotionProjectTests.kt

        }
    
        private fun setupModelFor(branchName: String): PromotionProject {
            // Set the project id here, so we can use methods on the DslContext
            DslContext.projectId = AbsoluteId("Gradle_${branchName.toCapitalized()}")
            DslContext.addParameters("branch" to branchName)
            return PromotionProject(VersionedSettingsBranch(branchName))
        }
    
        private fun gradleStep(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
  6. .ci/jobs.t/defaults.yml

          numToKeep: 500
          artifactDaysToKeep: 7
        parameters:
          - string:
              name: branch_specifier
              default: "refs/heads/%BRANCH%"
              description: "the Git branch specifier to build (<branchName>, <tagName>, <commitId>, etc.)\n"
        scm:
          - git:
              name: origin
              # master node jenkins user ~/.ssh
              credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:38:05 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

                        }
                    filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
                    filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}"
                }
        }
    }
    
    fun BaseGradleBuildType.tcParallelTests(numberOfBatches: Int) {
        if (numberOfBatches > 1) {
            params {
                param("env.TEAMCITY_PARALLEL_TESTS_ENABLED", "1")
    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)
  8. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            "-Dorg.gradle.workers.max=$maxParallelForks",
            "-PmaxParallelForks=$maxParallelForks",
            PLUGINS_PORTAL_URL_OVERRIDE,
            buildScanCustomValueParam("tcPipeline", VersionedSettingsBranch.fromDslContext().branchName),
            "-s",
            "%additional.gradle.parameters%",
            if (isContinue) "--continue" else "",
        )
    
    fun Dependencies.dependsOn(buildTypeId: RelativeId) {
        dependency(buildTypeId) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

    ) : PublishRelease(
            promotedBranch = branch.branchName,
            prepTask = "prepMilestone",
            promoteTask = branch.promoteMilestoneTaskName(),
            requiredConfirmationCode = "milestone",
            init = {
                id(MILESTONE_BUILD_CONFIGURATION_ID)
                name = "Release - Milestone"
                description = "Promotes the latest successful change on '${branch.branchName}' as a new milestone"
            },
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 24 03:08:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt

            promotedBranch = branch.branchName,
            promoteTask = "publishBranchDocs",
            triggerName = StageName.PULL_REQUEST_FEEDBACK.uuid,
        ) {
        init {
            id("Promotion_NightlyDocumentation")
            name = "Nightly Documentation"
            description =
                "Promotes the latest successful documentation changes on '${branch.branchName}' from Ready for Nightly as a new nightly documentation snapshot"
    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)
Back to Top