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'
33 - gerrit-trigger-change-merged:
40 if [ $GERRIT_BRANCH == "master" ]; then
41 RTD_BUILD_VERSION=latest
43 RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
45 curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/opnfvdocsdemo
49 name: 'docs-verify-rtd-{stream}'
51 project-type: freestyle
57 description: 'Slave label on Jenkins'
63 default: https://gerrit.opnfv.org/gerrit/opnfvdocs
64 description: 'Git URL to use on this Jenkins Slave'
67 - git-scm-with-submodules:
71 - gerrit-trigger-patchset-created:
72 server: 'gerrit.opnfv.org'
79 if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
80 cd docs/submodules/$GERRIT_PROJECT
81 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
83 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
86 sudo pip install virtualenv
87 virtualenv $WORKSPACE/venv
88 . $WORKSPACE/venv/bin/activate
89 pip install --upgrade pip