adoroszlai opened a new pull request, #7389: URL: https://github.com/apache/ozone/pull/7389
## What changes were proposed in this pull request? Exit code in `build.sh` (used by `build` check) was accidentally omitted in HDDS-11057. This results in "successful" build check even in case of build failure. (`dependency` or `acceptance` checks may still catch the problem due to missing artifacts.) This PR makes `build.sh` exit with failure result if there are any errors. Also fix a javadoc [failure](https://github.com/apache/ozone/actions/runs/11549582108/job/32143421325#step:8:15382), which was not caught by CI earlier due to the problem above. https://issues.apache.org/jira/browse/HDDS-11637 ## How was this patch tested? Ran the script after introducing some syntax error: ``` $ echo "garbage" >> hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java $ ./hadoop-ozone/dev-support/checks/build.sh; echo $? ... [ERROR] hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsConfigKeys.java:[405,1] reached end of file while parsing ... [INFO] BUILD FAILURE ... 1 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
