Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for FROM_CACHE (0.13 sec)

  1. platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

            result = runner()
                .withArguments( '--build-cache', 'cacheableTask')
                .build()
    
            then:
            result.task(":cacheableTask").outcome == FROM_CACHE
        }
        // end::functional-test-build-cache[]
    
        def runner() {
            return GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withPluginClasspath()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteTaskBuildOperationType.java

             * See {@code org.gradle.api.internal.tasks.TaskStateInternal#isActionable()}.
             */
            boolean isActionable();
    
            /**
             * If task was UP_TO_DATE or FROM_CACHE, this will convey the ID of the build that produced the outputs being reused.
             * Value will be null for any other outcome.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/IndexPageGenerator.java

    import java.util.Set;
    
    import static java.util.stream.Collectors.toList;
    import static org.gradle.performance.results.report.Tag.FixedTag.FAILED;
    import static org.gradle.performance.results.report.Tag.FixedTag.FROM_CACHE;
    import static org.gradle.performance.results.report.Tag.FixedTag.IMPROVED;
    import static org.gradle.performance.results.report.Tag.FixedTag.NEARLY_FAILED;
    import static org.gradle.performance.results.report.Tag.FixedTag.REGRESSED;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/ExecuteWorkBuildOperationType.java

             * </ul>
             */
            @Nullable
            String getSkipMessage();
    
            /**
             * If work was UP_TO_DATE or FROM_CACHE, this will convey the ID of the build that produced the outputs being reused.
             * Value will be null for any other outcome.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

                    }
                }
            """
            file("input").text = "input file"
        }
    
        @TargetGradleVersion('>=3.5')
        def "cacheable task is reported as FROM_CACHE"() {
            when:
            def pushToCacheEvents = ProgressEvents.create()
            runCacheableBuild(pushToCacheEvents)
            then:
            !cacheableTaskResult(pushToCacheEvents).fromCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/TaskOutcome.java

         * </p>
         * <p>NOTE: If the Gradle version used for the build under test is older than 3.3,
         * no tasks will have this outcome.</p>
         *
         * @since 3.3
         */
        FROM_CACHE,
    
        /**
         * The task was skipped due to all input files declared with {@code @SkipWhenEmpty} being empty.
         *
         * @since 3.4
         */
        NO_SOURCE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

                switch (execution.getOutcome()) {
                    case SHORT_CIRCUITED:
                        return "NO-SOURCE";
                    case FROM_CACHE:
                        return "FROM-CACHE";
                    case UP_TO_DATE:
                        return "UP-TO-DATE";
                    case EXECUTED_INCREMENTALLY:
                    case EXECUTED_NON_INCREMENTALLY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/Tag.java

        String getClassAttr();
    
        String getTitle();
    
        String getUrl();
    
        default boolean isValid() {
            return this != UNTAGGED;
        }
    
        enum FixedTag implements Tag {
            FROM_CACHE("FROM-CACHE", "badge badge-info", "The test is not really executed - its results are fetched from build cache."),
            FAILED("FAILED", "badge badge-danger", "Regression confidence > 99.9% despite retries."),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             * same workspace).
             */
            UP_TO_DATE,
    
            /**
             * The outputs of the work have been loaded from the build cache.
             */
            FROM_CACHE,
    
            /**
             * Executing the work was not necessary to produce the outputs.
             * This is usually due to the work having no inputs to process.
             */
            SHORT_CIRCUITED,
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top