From dd99e4b9b4c9640ec5e9b9363282e547dd90a399 Mon Sep 17 00:00:00 2001 From: ulfjack Date: Thu, 20 Apr 2017 10:26:55 +0200 Subject: Also download stdout & stderr in case of a cache hit Fixes #1413. PiperOrigin-RevId: 153684106 --- .../java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java') diff --git a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java index f67a01f2d8..9882da210b 100644 --- a/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java +++ b/src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java @@ -269,6 +269,7 @@ final class RemoteSpawnStrategy implements SpawnActionContext { // just update the TreeNodeRepository and continue the build. try { actionCache.downloadAllResults(result, execRoot); + passRemoteOutErr(actionCache, result, actionExecutionContext.getFileOutErr()); return; } catch (CacheNotFoundException e) { acceptCachedResult = false; // Retry the action remotely and invalidate the results. -- cgit v1.2.3