4 - 'docs-merge-rtd-{stream}'
5 - 'docs-verify-rtd-{stream}'
13 # TODO: Archive Artifacts
16 name: 'docs-merge-rtd-{stream}'
18 project-type: freestyle
24 description: 'Slave label on Jenkins'
30 default: https://gerrit.opnfv.org/gerrit/releng
31 description: 'Git URL to use on this Jenkins Slave'
36 - gerrit-trigger-change-merged
39 - shell: !include-raw: docs-post-rtd.sh
42 name: 'docs-verify-rtd-{stream}'
44 project-type: freestyle
50 description: 'Slave label on Jenkins'
56 default: https://gerrit.opnfv.org/gerrit/opnfvdocs
57 description: 'Git URL to use on this Jenkins Slave'
63 - gerrit-trigger-patchset-created:
64 server: 'gerrit.opnfv.org'
67 files: 'docs/**/*.rst'
72 git submodule update --init
73 if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
74 cd docs/submodules/$GERRIT_PROJECT
75 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
78 for x in $(git submodule | awk '{{print $2}}');
81 git filter-branch --subdirectory-filter docs/
86 sudo pip install virtualenv
87 virtualenv $WORKSPACE/venv
88 source $WORKSPACE/venv/bin/activate
89 pip install --upgrade pip