5 - 'docs-merge-rtd-{stream}'
6 - 'docs-verify-rtd-{stream}'
14 branch: 'stable/nitrogen'
17 branch: 'stable/carbon'
19 branch: 'stable/boron'
23 build-node: centos7-java-builder-2c-4g
24 rtdproject: opendaylight
28 name: 'docs-merge-rtd-{stream}'
29 node: centos7-java-builder-2c-8g
31 project-type: freestyle
34 - opendaylight-infra-properties:
35 build-days-to-keep: 14
38 - opendaylight-infra-parameters:
39 os-cloud: '{os-cloud}'
42 refspec: 'refs/heads/{branch}'
43 artifacts: '{archive-artifacts}'
46 - opendaylight-infra-wrappers:
51 server-name: '{server-name}'
54 - comment-added-contains-event:
55 comment-contains-value: 'remerge'
57 - project-compare-type: 'ANT'
60 - branch-compare-type: 'ANT'
61 branch-pattern: '**/{branch}'
64 pattern: docs/**/*.rst
67 - shell: !include-raw: docs-post-rtd.sh
71 email-recipients: '{email-recipients}'
72 email-prefix: '[docs]'
76 # FIXME: Describe this job in docs/jenkins.rst
77 name: 'docs-verify-rtd-{stream}'
78 node: centos7-java-builder-2c-8g
81 project-type: freestyle
84 - opendaylight-infra-properties:
85 build-days-to-keep: 14
88 - opendaylight-infra-parameters:
89 os-cloud: '{os-cloud}'
92 refspec: 'refs/heads/{branch}'
93 artifacts: '{archive-artifacts}'
96 - git-scm-with-submodules:
100 - opendaylight-infra-wrappers:
101 build-timeout: '{build-timeout}'
104 - gerrit-trigger-patch-submitted:
105 server: '{server-name}'
108 files: 'docs/**/*.rst'
113 if [ "$GERRIT_PROJECT" != "docs" ]; then
114 cd docs/submodules/$GERRIT_PROJECT
115 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
117 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
120 virtualenv $WORKSPACE/venv
121 source $WORKSPACE/venv/bin/activate
122 PYTHON="$WORKSPACE/venv/bin/python"
123 $PYTHON -m pip install --upgrade pip
124 $PYTHON -m pip install --upgrade pipdeptree
125 $PYTHON -m pip install tox
129 # Archive generated docs
130 mkdir -p "$WORKSPACE/archives"
131 mv docs/_build/html archives/
134 - email-notification:
135 email-recipients: '{email-recipients}'
136 email-prefix: '[docs]'