If there is something wrong with the build, the user can run "make doctor". That is hard to do in a CI setting. Instead, if the build environment is detected to be a CI, we should run the doctor automatically in case of a failed build.
------------- Commit messages: - 8345874: Run make doctor automatically on failed CI builds Changes: https://git.openjdk.org/jdk/pull/24485/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24485&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8345874 Stats: 10 lines in 2 files changed: 9 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/24485.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24485/head:pull/24485 PR: https://git.openjdk.org/jdk/pull/24485