diff options
author | ccalvarin <ccalvarin@google.com> | 2017-10-25 21:23:42 +0200 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2017-10-26 10:59:05 +0200 |
commit | c6b6dbadd0a93936c51154b25abc5fbba8f2d1af (patch) | |
tree | bfa65849ed2566899489eb625d4640429169ae71 /src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandUtils.java | |
parent | eea9ec288856a61538b9204f2e0f9e3311cab6a8 (diff) |
Accept build IDs by flag.
We accepted these by environment variable largely because setting it via invocation policy would require changing invocation policy for each command, which had caused the Bazel server to restart, loosing incremental state. This is fixed: changing invocation policy no longer causes Bazel to restart its servers, so accept these as normal options.
We will soon no longer accept these flags by environment variable, but will accept both for a transition period, so that nobody relying on these values is broken by a single release. To inform users of this environment variable, anyone setting the environment variable without the flag will receive a warning but the value will be kept. The following release will no longer accept an environment variable.
Note on format: invocation_id we accept only clean UUIDs, but for build_request_id, to help differentiate otherwise undifferentiable id types, we accept arbitrary prefixes before the UUID. The user is responsible for picking prefixes that are sane.
RELNOTES: None.
PiperOrigin-RevId: 173432904
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeCommandUtils.java')
0 files changed, 0 insertions, 0 deletions