- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for hasCacheEntry (0.22 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy
errorOutput =~ /Could not pack tree 'output'/ def cacheKey = cacheOperations.getCacheKeyForTask(":customTask") !localCache.hasCacheEntry(cacheKey) localCache.listCacheTempFiles().empty } @ToBeFixedForConfigurationCache(skip = INVESTIGATE) def "archive is not pushed to remote when packing fails"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/BuildCacheLocalCacheIntegrationTest.groovy
localCache.empty def cacheKey = cacheOperations.getCacheKeyForTask(":t") remoteCache.hasCacheEntry(cacheKey) when: settingsFile << """ buildCache.local.push = true """ execute() then: cached() localCache.hasCacheEntry(cacheKey) when: settingsFile << """ buildCache.remote.enabled = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskOutputIntegrationTest.groovy
metadata.gradleVersion == GradleVersion.current().version } private Properties readMetadata() { def cacheKey = cacheOperations.getCacheKeyForTask(":compileJava") assert localCache.hasCacheEntry(cacheKey) def cacheEntry = localCache.getCacheEntry(cacheKey) // Must rename to "*.tgz" for unpacking to work def tgzCacheEntry = temporaryFolder.file("cache.tgz")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 20 17:51:57 UTC 2024 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy
} void deleteCacheEntry(String cacheKey) { def entry = getTestFileCacheEntry(cacheKey) if (entry.file.exists()) { entry.file.deleteDir() } } boolean hasCacheEntry(String cacheKey) { return getTestFileCacheEntry(cacheKey).file.exists() } TestCacheEntry getCacheEntry(String cacheKey) { def cacheEntry = getTestFileCacheEntry(cacheKey)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0)