diff options
author | ruperts <ruperts@google.com> | 2018-03-02 16:10:43 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-02 16:12:27 -0800 |
commit | 76de73b979219fe2697aa9dc8f354020e1905d81 (patch) | |
tree | 88e765f3ef604d5bdd64c5a022e825dcc7f080d5 /src/main/java/com/google/devtools/build/lib/buildeventservice | |
parent | a6679aead65603162d57ee5d868ab06fed369fab (diff) |
BEP: Add a --build_event_publish_all_actions flag to allow all actions to be published via the BEP, instead of only publishing failed actions and extra actions.
RELNOTES: Add a --build_event_publish_all_actions flag to allow all actions to be published via the BEP.
PiperOrigin-RevId: 187683799
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventservice')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java index 3998c36b9a..c8b4be81ba 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java +++ b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceModule.java @@ -186,7 +186,9 @@ public abstract class BuildEventServiceModule<T extends BuildEventServiceOptions transports = transportsBuilder.build(); if (!transports.isEmpty()) { - return new BuildEventStreamer(transports, reporter); + BuildEventStreamOptions buildEventStreamOptions = + optionsProvider.getOptions(BuildEventStreamOptions.class); + return new BuildEventStreamer(transports, reporter, buildEventStreamOptions); } } catch (Exception e) { moduleEnvironment.exit(new AbruptExitException(ExitCode.LOCAL_ENVIRONMENTAL_ERROR, e)); |