5 - 'docs-merge-rtd-{stream}'
6 - 'docs-verify-rtd-{stream}'
12 branch: 'stable/{stream}'
16 # TODO: Archive Artifacts
19 name: 'docs-merge-rtd-{stream}'
21 project-type: freestyle
27 description: 'Slave label on Jenkins'
29 node-eligibility: 'ignore-offline'
35 - gerrit-trigger-change-merged:
41 - 'remove-old-docs-from-opnfv-artifacts'
43 if [ $GERRIT_BRANCH == "master" ]; then
44 RTD_BUILD_VERSION=latest
46 RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
48 curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/opnfvdocsdemo
52 name: 'docs-verify-rtd-{stream}'
54 project-type: freestyle
60 description: 'Slave label on Jenkins'
62 node-eligibility: 'ignore-offline'
68 default: https://gerrit.opnfv.org/gerrit/opnfvdocs
69 description: 'Git URL to use on this Jenkins Slave'
72 - git-scm-with-submodules:
76 - gerrit-trigger-patchset-created:
77 server: 'gerrit.opnfv.org'
84 sudo -H pip install virtualenv
85 virtualenv $WORKSPACE/venv
86 . $WORKSPACE/venv/bin/activate
87 pip install --upgrade pip
90 sed -i s,\-b\ html,\-b\ singlehtml,g tox.ini
92 - 'upload-review-docs'