5 - 'docs-merge-rtd-{stream}'
6 - 'docs-verify-rtd-{stream}'
7 - '{project-name}-verify-tox-{stream}'
14 branch: 'stable/nitrogen'
17 branch: 'stable/carbon'
19 branch: 'stable/boron'
23 rtdproject: opendaylight
27 name: 'docs-merge-rtd-{stream}'
28 node: centos7-java-builder-2c-8g
30 project-type: freestyle
33 - opendaylight-infra-properties:
34 build-days-to-keep: 14
37 - opendaylight-infra-parameters:
38 os-cloud: '{os-cloud}'
41 refspec: 'refs/heads/{branch}'
42 artifacts: '{archive-artifacts}'
45 - opendaylight-infra-wrappers:
50 server-name: '{server-name}'
53 - comment-added-contains-event:
54 comment-contains-value: 'remerge'
56 - project-compare-type: 'ANT'
59 - branch-compare-type: 'ANT'
60 branch-pattern: '**/{branch}'
63 pattern: docs/**/*.rst
66 - shell: !include-raw: docs-post-rtd.sh
70 email-recipients: '{email-recipients}'
71 email-prefix: '[docs]'
75 # FIXME: Describe this job in docs/jenkins.rst
76 name: 'docs-verify-rtd-{stream}'
77 node: centos7-java-builder-2c-8g
80 project-type: freestyle
83 - opendaylight-infra-properties:
84 build-days-to-keep: 14
87 - opendaylight-infra-parameters:
88 os-cloud: '{os-cloud}'
91 refspec: 'refs/heads/{branch}'
92 artifacts: '{archive-artifacts}'
95 - git-scm-with-submodules:
99 - opendaylight-infra-wrappers:
100 build-timeout: '{build-timeout}'
103 - gerrit-trigger-patch-submitted:
104 server: '{server-name}'
107 files: 'docs/**/*.rst'
112 if [ "$GERRIT_PROJECT" != "docs" ]; then
113 cd docs/submodules/$GERRIT_PROJECT
114 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
116 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
119 virtualenv $WORKSPACE/venv
120 source $WORKSPACE/venv/bin/activate
121 PYTHON="$WORKSPACE/venv/bin/python"
122 $PYTHON -m pip install --upgrade pip
123 $PYTHON -m pip install --upgrade pipdeptree
124 $PYTHON -m pip install tox
128 # Archive generated docs
129 mkdir -p "$WORKSPACE/archives"
130 mv docs/_build/html archives/
133 - email-notification:
134 email-recipients: '{email-recipients}'
135 email-prefix: '[docs]'