Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for if (0.17 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 May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (member instanceof JApiClass) {
                return isIncubatingClass((JApiClass) member)
            }
            if (member instanceof JApiMethod) {
                return isIncubatingOrOverrideMethod((JApiMethod) member)
            }
            if (member instanceof JApiField) {
                return isIncubatingField((JApiField) member)
            }
            if (member instanceof JApiConstructor) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. .github/workflows/codeql-analysis.yml

        - name: Compile with Gradle without Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner != 'gradle' }}
          run: ./gradlew --no-configuration-cache --init-script .github/workflows/codeql-analysis.init.gradle -S testClasses
    
        - name: Cleanup Gradle Daemons
          run: ./gradlew --stop
          if: ${{ matrix.language == 'java' }}
    
        # ℹ️ Command-line programs to run using the OS shell.
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. .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 May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. .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 May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. .cm/plugins/filters/nullToEmpty/index.js

    /**
     * @module nullToEmpty
     * @description Returns the specified value if non-null, otherwise an empty array.
     * @param {Object} input - The object to investigate
     * @returns Object - The specified value if non-null, otherwise an empty array
     * @example {{ readField('jvm', 'files') | nullToEmpty }}
     */
    function nullToEmpty(input) {
        let output;
        if (input) {
            output = input;
        } else {
            output = [];
        }
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:43:16 GMT 2024
    - 526 bytes
    - Viewed (0)
  8. .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 May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. .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 May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top