HBASE-26755 HBase website generation should show error details on failure (#4114)

This commit is contained in:
Sean Busbey 2022-02-14 14:48:45 -06:00 committed by GitHub
parent 8bb36d6317
commit 7316ba9c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -175,12 +175,14 @@ echo "Building HBase"
if mvn \
--batch-mode \
-Psite-install-step \
--errors \
--log-file="${working_dir}/hbase-install-log-${CURRENT_HBASE_COMMIT}.txt" \
clean install \
&& mvn site \
--batch-mode \
-Dscala.skip=true \
-Psite-build-step \
--errors \
--log-file="${working_dir}/hbase-site-log-${CURRENT_HBASE_COMMIT}.txt"; then
echo "Successfully built site."
else
@ -193,6 +195,7 @@ fi
echo "Staging HBase site"
mvn \
--batch-mode \
--errors \
--log-file="${working_dir}/hbase-stage-log-${CURRENT_HBASE_COMMIT}.txt" \
site:stage
status=$?