This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 16b28cb  Fixed pulsar admin client not install before build website 
(#6020)
16b28cb is described below

commit 16b28cb63d5737616aa5ec264a1b18a447602504
Author: Guangning <[email protected]>
AuthorDate: Fri Jan 10 09:58:58 2020 +0800

    Fixed pulsar admin client not install before build website (#6020)
    
    Motivation
    Fixed pulsar admin client did not install before build website
    
    Modifications
    Add mvn install before build website
---
 site2/tools/pulsar-admin-doc-gen.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/site2/tools/pulsar-admin-doc-gen.sh 
b/site2/tools/pulsar-admin-doc-gen.sh
index 41f904f..7f4c86c 100755
--- a/site2/tools/pulsar-admin-doc-gen.sh
+++ b/site2/tools/pulsar-admin-doc-gen.sh
@@ -22,6 +22,9 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
 VERSION=`${ROOT_DIR}/src/get-project-version.py`
 DEST_DIR=$ROOT_DIR/generated-site
 
+cd $ROOT_DIR
+mvn install -DskipTests
+
 mkdir -p $DEST_DIR/tools/pulsar-admin/${VERSION}
 mkdir -p $DEST_DIR/tools/pulsar-admin/${VERSION}/node_modules
 mkdir -p $ROOT_DIR/site2/website/brodocs/documents

Reply via email to