HBASE-26755 HBase website generation should show error details on failure (#4114)
This commit is contained in:
parent
8bb36d6317
commit
7316ba9c85
|
@ -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=$?
|
||||||
|
|
Loading…
Reference in New Issue