4 - 'docs-merge-rtd-{stream}'
5 - 'docs-verify-rtd-{stream}'
11 branch: 'stable/{stream}'
15 # TODO: Archive Artifacts
18 name: 'docs-merge-rtd-{stream}'
20 project-type: freestyle
26 description: 'Slave label on Jenkins'
32 - gerrit-trigger-change-merged:
39 if [ $GERRIT_BRANCH == "master" ]; then
40 RTD_BUILD_VERSION=latest
42 RTD_BUILD_VERSION=${{GERRIT_BRANCH/\//-}}
44 curl -X POST --data "version_slug=$RTD_BUILD_VERSION" https://readthedocs.org/build/opnfvdocsdemo
48 name: 'docs-verify-rtd-{stream}'
50 project-type: freestyle
56 description: 'Slave label on Jenkins'
62 default: https://gerrit.opnfv.org/gerrit/opnfvdocs
63 description: 'Git URL to use on this Jenkins Slave'
65 - git-scm-with-submodules:
69 - gerrit-trigger-patchset-created:
70 server: 'gerrit.opnfv.org'
78 if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
79 cd docs/submodules/$GERRIT_PROJECT
80 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
82 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
85 sudo pip install virtualenv
86 virtualenv $WORKSPACE/venv
87 . $WORKSPACE/venv/bin/activate
88 pip install --upgrade pip