diff options
author | 2018-03-02 16:10:43 -0800 | |
---|---|---|
committer | 2018-03-02 16:12:27 -0800 | |
commit | 76de73b979219fe2697aa9dc8f354020e1905d81 (patch) | |
tree | 88e765f3ef604d5bdd64c5a022e825dcc7f080d5 /src/main/java/com/google/devtools/build/lib/buildeventstream | |
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/buildeventstream')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/transports/BuildEventStreamOptions.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/transports/BuildEventStreamOptions.java b/src/main/java/com/google/devtools/build/lib/buildeventstream/transports/BuildEventStreamOptions.java index d2e689d92c..f489635747 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/transports/BuildEventStreamOptions.java +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/transports/BuildEventStreamOptions.java @@ -93,6 +93,16 @@ public class BuildEventStreamOptions extends OptionsBase { ) public boolean buildEventJsonFilePathConversion; + @Option( + name = "build_event_publish_all_actions", + defaultValue = "false", + documentationCategory = OptionDocumentationCategory.LOGGING, + effectTags = {OptionEffectTag.AFFECTS_OUTPUTS}, + help = "Whether all actions should be published." + ) + public boolean publishAllActions; + + // TODO(ruperts): Remove these public getter methods for consistency with other options classes? public String getBuildEventTextFile() { return buildEventTextFile; } |