diff options
author | 2017-04-20 10:26:55 +0200 | |
---|---|---|
committer | 2017-04-20 11:09:38 +0200 | |
commit | dd99e4b9b4c9640ec5e9b9363282e547dd90a399 (patch) | |
tree | 2f1d3d50c1054b26969f7bbd9b3ab8c5442095a4 /src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java | |
parent | 2630d8ed29e35fc4822f217b85949e315a7eac45 (diff) |
Also download stdout & stderr in case of a cache hit
Fixes #1413.
PiperOrigin-RevId: 153684106
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/remote/RemoteSpawnStrategy.java | 1 |
1 files changed, 1 insertions, 0 deletions
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. |