Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for toCapitalized (1.52 sec)

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

    enum class Arch(val suffix: String, val nameOnLinuxWindows: String, val nameOnMac: String) {
        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64");
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
        val perfTestWorkingDir: String = "%teamcity.build.checkoutDir%",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    package configurations
    
    import common.JvmCategory
    import common.Os
    import common.applyDefaultSettings
    import common.buildScanTagParam
    import common.toCapitalized
    import configurations.TestSplitType.EXCLUDE
    import configurations.TestSplitType.INCLUDE
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.Project
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    fun buildScanCustomValueParam(key: String, value: String) = """-Dscan.value.$key=$value"""
    
    fun TestCoverage.asBuildScanCustomValue() =
        "${testType.name.toCapitalized()}${testJvmVersion.name.toCapitalized()}${vendor.displayName}${os.asName()}${arch.asName()}"
    
    // Generates a build scan custom value "PartOf=X,Y,Z"
    // where X, Y, Z are all the stages including current stage
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

    package configurations
    
    import common.JvmCategory
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.requiresNotEc2Agent
    import common.toCapitalized
    import model.CIBuildModel
    import model.Stage
    
    class SmokeTests(model: CIBuildModel, stage: Stage, testJava: JvmCategory, id: String, task: String = "smokeTest", splitNumber: Int = 1) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    package configurations
    
    import common.Os
    import common.VersionedSettingsBranch
    import common.applyDefaultSettings
    import common.toCapitalized
    import common.uuidPrefix
    import jetbrains.buildServer.configs.kotlin.Dependencies
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.FailureAction
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import jetbrains.buildServer.configs.kotlin.SnapshotDependency
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 08:08:13 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
            "${testType.name.toCapitalized()} ${testJvmVersion.name.toCapitalized()} ${vendor.displayName} ${os.asName()} ${arch.asName()}${if (withoutDependencies) " without dependencies" else ""}"
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 06:14:14 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

        steps {
            killProcessStep(this@killProcessStep, mode, os, arch, executionMode)
        }
    }
    
    fun String.toCapitalized() = this.replaceFirstChar { if (it.isLowerCase()) it.titlecase(Locale.getDefault()) else it.toString() }
    
    /**
     * Define clean up rules for the project.
    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