Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for containsKey (0.18 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        val testPathToBinaryResultsDirs: Map<String, File>
            get() = parameters.testPathToBinaryResultsDirs.get()
    
        override fun onFinish(event: FinishEvent) {
            if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) {
                val taskPath = event.descriptor.taskPath
                when (event.result) {
                    is TaskSuccessResult -> {
                        addExecutedTaskPath(taskPath)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            validSubprojects.forEach {
                if (!subProjectToClassTimes.containsKey(it.name)) {
                    subProjectToClassTimes[it.name] = emptyList()
                }
            }
    
            val subProjectTestClassTimes: List<SubprojectTestClassTime> = subProjectToClassTimes
                .entries
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top