aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/buildeventservice
diff options
context:
space:
mode:
authorGravatar ruperts <ruperts@google.com>2018-03-02 16:10:43 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-03-02 16:12:27 -0800
commit76de73b979219fe2697aa9dc8f354020e1905d81 (patch)
tree88e765f3ef604d5bdd64c5a022e825dcc7f080d5 /src/main/java/com/google/devtools/build/lib/buildeventservice
parenta6679aead65603162d57ee5d868ab06fed369fab (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.java4
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));