Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for if (0.22 sec)

  1. .cm/estimated_time_to_review.cm

      estimated_time_to_review:
        if:
          - {{ ('estimated_time_to_review' | isEnabledAutomation(pr)) }}
        run:
          - action: add-label@v1
            # etr is defined in the last section of this example
            args:
              label: "{{ calc.etr }} min review"
              color: {{ 'E94637' if (calc.etr >= 20) else ('FBBD10' if (calc.etr >= 5) else '36A853') }}
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        canRunTogether: (T, T) -> Boolean = { _, _ -> true }
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
        }
        if (expectedBucketNumber == 1) {
            return listOf(smallElementAggregateFunction(list))
        }
    
        val expectedBucketSize = list.sumOf(toIntFunction) / expectedBucketNumber
    
        if (expectedBucketSize == 0) {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. .cm/misc_labels.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

        val studioInstallationProvider = providers.provider {
            if (autoDownloadAndroidStudio) {
                studioInstallation
            } else {
                null
            }
        }
    
        override fun asArguments(): Iterable<String> {
            val systemProperties = mutableListOf<String>()
    
            systemProperties.add(getStudioHome())
    
            if (runAndroidStudioInHeadlessMode) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. .cm/platform_labels.cm

    # Each automation has an `if` key that defines conditions to run the automation,
    # as well as a `run` key with the actions to do. All the conditions need to be true
    # for the actions to run (there is an implicit AND relation between
    # the conditions on each line).  Each condition is specified as a Jinja expression.  You
    # can also use the constant `true` if you want to always run the actions.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

                        }
                    }
                }
    
                override fun afterSuite(suite: TestDescriptor, result: TestResult) {
                    if (suite.parent == null) {
                        forEachJavaProcess { pid, _ ->
                            if (daemonPids.add(pid)) {
                                suspiciousDaemons.getOrPut(suite.toString(), { ConcurrentHashMap.newKeySet() }) += pid
                            }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

            }
            if (testProjects.isNotEmpty()) {
                steps {
                    preBuildSteps()
                    killProcessStep(buildTypeThis, KILL_ALL_GRADLE_PROCESSES, os)
                    substDirOnWindows(os)
    
                    repeat(if (performanceTestBuildSpec.type == PerformanceTestType.flakinessDetection) 2 else 1) { repeatIndex: Int ->
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            fun collectPackages(files: Iterable<Path>): Trie {
                val builder = Trie.Builder()
                for (file in files) {
                    if (Files.exists(file)) {
                        if (file.fileName.toString().endsWith(".jar")) {
                            processJarFile(file, builder)
                        } else {
                            processDirectory(file, builder)
                        }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                val prevStage = if (stageNumber > 1) model.stages[stageNumber - 2] else null
    
                if (stage.runsIndependent) {
                    return@forEach
                }
    
                assertEquals(
                    stage.specificBuilds.size + stage.functionalTests.size + stage.performanceTests.size + stage.docsTests.size + (if (prevStage != null) 1 else 0),
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

            "${model.projectId}_${oldUuid ?: "PerformanceTest$uuid"}"
    
        override
        fun asName(): String =
            "${type.displayName} - ${os.asName()}${if (withoutDependencies) " without dependencies" else ""}"
    
        override
        fun channel() =
            "${type.channel}${if (os == Os.LINUX) "" else "-${os.name.lowercase(Locale.US)}"}-%teamcity.build.branch%"
    }
    
    data class FlameGraphGeneration(
        private val uuid: Int,
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Dec 13 07:00:20 GMT 2021
    - 3.7K bytes
    - Viewed (0)
Back to top