diff options
author | 2018-05-18 08:15:43 -0700 | |
---|---|---|
committer | 2018-05-18 08:17:26 -0700 | |
commit | 2d8dced12b2f82e78ac65f44aa5e8ce1ecb52372 (patch) | |
tree | 0bfe0cfc2be0743f0cdb71bf7640fbf2232a2b10 /src/main/java/com/google/devtools/build | |
parent | 5f195b7b66230f78cccfc57239f99be047a9e777 (diff) |
bes: disable best effort upload by default.
Disabling best effort upload means that a build will
wait for the BES upload to finish and also that it
will fail if the BES upload fails.
We are planning on removing/deprecating the best effort
upload functionality eventually.
RELNOTES: None
PiperOrigin-RevId: 197148222
Diffstat (limited to 'src/main/java/com/google/devtools/build')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventservice/BuildEventServiceOptions.java | 4 |
1 files changed, 2 insertions, 2 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 a6216ecf3a..df9436d86f 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 @@ -52,12 +52,12 @@ public class BuildEventServiceOptions extends OptionsBase { @Option( name = "bes_best_effort", - defaultValue = "true", + defaultValue = "false", 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 'false', bazel exits with ExitCode.PUBLISH_ERROR. (defaults to 'true')." + + "failure. If 'false', bazel exits with ExitCode.PUBLISH_ERROR. (defaults to 'false')." ) public boolean besBestEffort; |