Expose invocation_id and build_id flags in documentation
Fixes
RELNOTES: None
@@ -171,9 +171,10 @@ public class CommonCommandOptions extends OptionsBase {
converter = UUIDConverter.class,
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.BAZEL_MONITORING, OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION},
- metadataTags = {OptionMetadataTag.HIDDEN},
- help = "Unique identifier for the command being run."
- )
+ help =
+ "Unique identifier, in UUID format, for the command being run. If explicitly specified"
+ + " uniqueness must be ensured by the caller. The UUID is printed to stderr, the BEP"
+ + " and remote execution protocol.")
public UUID invocationId;
@Option(
@@ -183,8 +184,7 @@ public class CommonCommandOptions extends OptionsBase {
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.BAZEL_MONITORING, OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION},
metadataTags = {OptionMetadataTag.HIDDEN},
- help = "Unique identifier for the build being run."
- )
+ help = "Unique string identifier for the build being run.")
public String buildRequestId;
@Option(
