Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asBuildScanCustomValue (0.19 sec)

  1. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.JvmVendor
    import common.JvmVersion
    import common.Os
    import common.VersionedSettingsBranch
    import common.asBuildScanCustomValue
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    import model.StageName
    import model.TestCoverage
    
    fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag"""
    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"
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top