5 - 'docs-merge-rtd-{stream}'
6 - 'docs-verify-rtd-{stream}'
7 - '{project-name}-verify-tox-{stream}'
14 branch: 'stable/carbon'
16 branch: 'stable/boron'
20 rtdproject: opendaylight
21 archive-artifacts: 'docs/_build/html/**'
24 name: 'docs-merge-rtd-{stream}'
25 node: centos7-java-builder-2c-8g
27 project-type: freestyle
30 - opendaylight-infra-properties:
31 build-days-to-keep: 14
34 - opendaylight-infra-parameters:
35 os-cloud: '{os-cloud}'
38 refspec: 'refs/heads/{branch}'
39 artifacts: '{archive-artifacts}'
42 - opendaylight-infra-wrappers:
47 server-name: '{server-name}'
50 - comment-added-contains-event:
51 comment-contains-value: 'remerge'
53 - project-compare-type: 'ANT'
56 - branch-compare-type: 'ANT'
57 branch-pattern: '**/{branch}'
60 pattern: docs/**/*.rst
63 - shell: !include-raw: docs-post-rtd.sh
67 email-recipients: '{email-recipients}'
68 email-prefix: '[docs]'
72 # FIXME: Describe this job in docs/jenkins.rst
73 name: 'docs-verify-rtd-{stream}'
74 node: centos7-java-builder-2c-8g
77 project-type: freestyle
80 - opendaylight-infra-properties:
81 build-days-to-keep: 14
84 - opendaylight-infra-parameters:
85 os-cloud: '{os-cloud}'
88 refspec: 'refs/heads/{branch}'
89 artifacts: '{archive-artifacts}'
92 - git-scm-with-submodules:
96 - opendaylight-infra-wrappers:
97 build-timeout: '{build-timeout}'
100 - gerrit-trigger-patch-submitted:
101 server: '{server-name}'
104 files: 'docs/**/*.rst'
109 if [ "$GERRIT_PROJECT" != "docs" ]; then
110 cd docs/submodules/$GERRIT_PROJECT
111 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
113 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
116 virtualenv $WORKSPACE/venv
117 source $WORKSPACE/venv/bin/activate
118 PYTHON="$WORKSPACE/venv/bin/python"
119 $PYTHON -m pip install --upgrade pip
120 $PYTHON -m pip freeze
121 $PYTHON -m pip install tox
125 - email-notification:
126 email-recipients: '{email-recipients}'
127 email-prefix: '[docs]'