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