summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-09-09 13:05:11 -0700
committerEd Warnicke <eaw@cisco.com>2016-09-09 13:07:54 -0700
commit42bf82d4a819280d6d8ea24f1241937294d2eddb (patch)
tree98e1196afe805d2d654b8458762951c4438d5d11 /jjb
parent04c8a4b72be4d5db14c9a5817d1a67b91ca1cb28 (diff)
Don't try to mv a directory before calling make to create it
Change-Id: Ic8333a26416933cdd62713a7a285bc03433d0dca Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/vpp/include-raw-vpp-docs.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/jjb/vpp/include-raw-vpp-docs.sh b/jjb/vpp/include-raw-vpp-docs.sh
index def26bc13..ce38ef12a 100644
--- a/jjb/vpp/include-raw-vpp-docs.sh
+++ b/jjb/vpp/include-raw-vpp-docs.sh
@@ -1,6 +1,6 @@
#!/bin/bash
set -xe -o pipefail
-[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/service/local/repositories/site"
+[ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site"
[ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/vpp
[ "$DOC_FILE" ] || DOC_FILE=vpp.docs.zip
[ "$DOC_DIR" ] || DOC_DIR=build-root/docs/html
@@ -17,10 +17,9 @@ else
exit
fi
+make doxygen
mkdir -p $(dirname ${RESOURCES_DIR})
mv -f ${DOC_DIR} ${RESOURCES_DIR}
-
-make doxygen
cd ${SITE_DIR}
cat > pom.xml << EOF
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">