5 [ "$DOCS_REPO_URL" ] || DOCS_REPO_URL="https://nexus.fd.io/content/sites/site"
6 [ "$PROJECT_PATH" ] || PROJECT_PATH=io/fd/csit
7 [ "$DOC_FILE" ] || DOC_FILE=csit.docs.tar.gz
8 [ "$DOC_DIR" ] || DOC_DIR=resources/tools/doc_gen
9 [ "$SITE_DIR" ] || SITE_DIR=${DOC_DIR}/_build
10 [ "$MVN" ] || MVN="/opt/apache/maven/bin/mvn"
18 if [ ${retval} -ne "0" ]; then
19 echo "Documentation generation failed!"
23 if [[ ${JOB_NAME} == *merge* ]]; then
28 <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">
29 <modelVersion>4.0.0</modelVersion>
30 <groupId>io.fd.csit</groupId>
31 <artifactId>docs</artifactId>
32 <version>1.0.0</version>
33 <packaging>pom</packaging>
35 <generateReports>false</generateReports>
40 <groupId>org.apache.maven.wagon</groupId>
41 <artifactId>wagon-webdav-jackrabbit</artifactId>
42 <version>2.9</version>
46 <distributionManagement>
49 <url>dav:${DOCS_REPO_URL}/${PROJECT_PATH}/${STREAM}</url>
51 </distributionManagement>
55 ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}" -T 4C