Merge "Add quick verify job for RPM building logic"
[releng/builder.git] / jjb / docs / docs-rtd.yaml
index b87ddfec3c9fe5d6002e7dfdf14868601e191bc0..dee12dace4f733aeba0115b83916e846886eb906 100644 (file)
@@ -2,23 +2,22 @@
 - project:
     name: docs-rtd
     jobs:
-      - 'docs-merge-rtd-{stream}'
-      - 'docs-verify-rtd-{stream}'
-      - '{project-name}-verify-tox-{stream}'
+      - '{project-name}-rtd-jobs'
+      - gerrit-tox-verify
 
     stream:
+      - oxygen:
+          branch: master
       - nitrogen:
-          branch: 'master'
-          jre: 'openjdk8'
+          branch: stable/nitrogen
       - carbon:
-          branch: 'stable/carbon'
-      - boron:
-          branch: 'stable/boron'
+          branch: stable/carbon
 
     project: docs
     project-name: docs
-    rtdproject: opendaylight
-    archive-artifacts: 'docs/_build/html/**'
+    build-node: centos7-java-builder-2c-4g
+    rtd-project: opendaylight
+    archive-artifacts: ''
 
 - job-template:
     name: 'docs-merge-rtd-{stream}'
           source $WORKSPACE/venv/bin/activate
           PYTHON="$WORKSPACE/venv/bin/python"
           $PYTHON -m pip install --upgrade pip
-          $PYTHON -m pip freeze
+          $PYTHON -m pip install --upgrade pipdeptree
           $PYTHON -m pip install tox
+          pipdeptree
           tox -edocs
 
+          # Archive generated docs
+          mkdir -p "$WORKSPACE/archives"
+          mv docs/_build/html archives/
+
     publishers:
       - email-notification:
           email-recipients: '{email-recipients}'