Otherwise it will build from the submodule because of the if-statement
above. This breaks the job in cases where a project has submodules.
Change-Id: I06d6291d3329da142ecdbebfb4ac1a866108ef0b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD
echo "---> Generating docs"
+cd "$WORKSPACE"
tox -edocs
echo "---> Archiving generated docs"
git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD
echo "---> Generating docs"
+cd "$WORKSPACE"
tox -edocs
echo "---> Archiving generated docs"
git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD
echo "---> Generating docs"
+cd "$WORKSPACE"
tox -edocs
echo "---> Archiving generated docs"