commit | dec757f712ee334751b66844d1d55f2060fc6a65 | [log] [tgz] |
---|---|---|
author | janakr <janakr@google.com> | Tue Oct 13 13:07:17 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 13 13:09:07 2020 -0700 |
tree | f55d3c9b711b518874a9a3e96a8c41433635b072 | |
parent | 10d19ef50be01bfd5f9c456c85dd8b4d5a85bf83 [diff] |
Add a new query flag, --experimental_query_failure_exit_code_behavior, that determines the exit code query returns when it encounters a failure: "three_and_seven", the default, returns 3 on a keep-going failure and 7 on a non-keep-going failure. "seven", which users should be ok with, returns 7 for both failures, avoiding the clash of 3 with the "tests failed" exit code for `blaze test`. "underlying" returns the underlying exit code from the failure details. It gives the most resolution in the coarse exit code, but may be a breaking change for some consumers. PiperOrigin-RevId: 336939306
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md