Skip to content

Commit

Permalink
Also download stdout & stderr in case of a cache hit
Browse files Browse the repository at this point in the history
Fixes #1413.

PiperOrigin-RevId: 153684106
  • Loading branch information
ulfjack authored and aehlig committed Apr 20, 2017
1 parent 2630d8e commit dd99e4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ public void exec(Spawn spawn, ActionExecutionContext actionExecutionContext)
// 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.
Expand Down

0 comments on commit dd99e4b

Please sign in to comment.