aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
diff options
context:
space:
mode:
authorGravatar aehlig <aehlig@google.com>2017-06-28 17:15:34 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-29 09:31:13 +0200
commit669fcbb9702f18b00aa7cc8f5e4094e239fc366c (patch)
treeebb61bb3c32f6567b2098e01a8042a93d81f6935 /src/main/java/com/google/devtools/build/lib
parentf07023471d261abbefee65adb2ca769b1da0ba42 (diff)
Add categories to BES-related options
The build event stream reports about events during the build, so it is logging (in a broad sense). The idividual options affect where we (remotely) log to, how eager we do it, etc. So they affect where the output (of the logging) goes to. RELNOTES: None PiperOrigin-RevId: 160409925
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r--src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java
index f2ea1c39d1..9fad46a389 100644
--- a/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java
@@ -30,8 +30,8 @@ public class BuildEventServiceOptions extends OptionsBase {
@Option(
name = "bes_backend",
defaultValue = "",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.LOGGING,
+ effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
help =
"Specifies the build event service (BES) backend endpoint as HOST or HOST:PORT. "
+ "Disabled by default."
@@ -42,8 +42,8 @@ public class BuildEventServiceOptions extends OptionsBase {
name = "bes_timeout",
defaultValue = "0s",
converter = DurationConverter.class,
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.LOGGING,
+ effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
help =
"Specifies how long bazel should wait for the BES/BEP upload to complete after the "
+ "build and tests have finished. A valid timeout is a natural number followed by a "
@@ -56,8 +56,8 @@ public class BuildEventServiceOptions extends OptionsBase {
@Option(
name = "bes_best_effort",
defaultValue = "true",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.LOGGING,
+ effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
help =
"Specifies whether a failure to upload the BES protocol should also result in a build "
+ "failure. If 'true', bazel exits with ExitCode.PUBLISH_ERROR. (defaults to 'true')."
@@ -67,8 +67,8 @@ public class BuildEventServiceOptions extends OptionsBase {
@Option(
name = "bes_lifecycle_events",
defaultValue = "true",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.LOGGING,
+ effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
help = "Specifies whether to publish BES lifecycle events. (defaults to 'true')."
)
public boolean besLifecycleEvents;
@@ -76,8 +76,8 @@ public class BuildEventServiceOptions extends OptionsBase {
@Option(
name = "project_id",
defaultValue = "null",
- documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
- effectTags = {OptionEffectTag.UNKNOWN},
+ documentationCategory = OptionDocumentationCategory.LOGGING,
+ effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
help = "Specifies the BES project identifier. Defaults to null."
)
public String projectId;