Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for requiresNotEc2Agent (0.09 seconds)

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

            build/report-*PerformanceTest.zip => $HIDDEN_ARTIFACT_DESTINATION
            """.trimIndent(),
        )
        detectHangingBuilds = false
        requirements {
            requiresNotEc2Agent()
            requiresNotSharedHost()
        }
        params {
            param("env.JPROFILER_HOME", os.jprofilerHome)
            param("performance.db.username", "tcagent")
        }
    }
    
    fun performanceTestCommandLine(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/common/CommonExtensions.kt

        } else {
            contains("teamcity.agent.jvm.os.arch", arch.nameOnLinuxWindows)
        }
    }
    
    fun Requirements.requiresEc2Agent() {
        matches("teamcity.agent.name", "^(ec|EC)2-.*$")
    }
    
    fun Requirements.requiresNotEc2Agent() {
        doesNotContain("teamcity.agent.name", "ec2")
        // US region agents have name "EC2-XXX"
        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
    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)
Back to Top