5 - '{project-name}-rtd-jobs'
12 branch: stable/nitrogen
20 build-node: centos7-java-builder-2c-4g
21 rtd-project: opendaylight
25 name: 'docs-merge-rtd-{stream}'
26 node: centos7-java-builder-2c-8g
28 project-type: freestyle
31 - opendaylight-infra-properties:
32 build-days-to-keep: 14
35 - opendaylight-infra-parameters:
36 os-cloud: '{os-cloud}'
39 refspec: 'refs/heads/{branch}'
40 artifacts: '{archive-artifacts}'
43 - opendaylight-infra-wrappers:
48 server-name: '{server-name}'
51 - comment-added-contains-event:
52 comment-contains-value: 'remerge'
54 - project-compare-type: 'ANT'
57 - branch-compare-type: 'ANT'
58 branch-pattern: '**/{branch}'
61 pattern: docs/**/*.rst
64 - shell: !include-raw: docs-post-rtd.sh
68 email-recipients: '{email-recipients}'
69 email-prefix: '[docs]'
73 # FIXME: Describe this job in docs/jenkins.rst
74 name: 'docs-verify-rtd-{stream}'
75 node: centos7-java-builder-2c-8g
78 project-type: freestyle
81 - opendaylight-infra-properties:
82 build-days-to-keep: 14
85 - opendaylight-infra-parameters:
86 os-cloud: '{os-cloud}'
89 refspec: 'refs/heads/{branch}'
90 artifacts: '{archive-artifacts}'
93 - git-scm-with-submodules:
97 - opendaylight-infra-wrappers:
98 build-timeout: '{build-timeout}'
101 - gerrit-trigger-patch-submitted:
102 server: '{server-name}'
105 files: 'docs/**/*.rst'
110 if [ "$GERRIT_PROJECT" != "docs" ]; then
111 cd docs/submodules/$GERRIT_PROJECT
112 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
114 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
117 virtualenv $WORKSPACE/venv
118 source $WORKSPACE/venv/bin/activate
119 PYTHON="$WORKSPACE/venv/bin/python"
120 $PYTHON -m pip install --upgrade pip
121 $PYTHON -m pip install --upgrade pipdeptree
122 $PYTHON -m pip install tox
126 # Archive generated docs
127 mkdir -p "$WORKSPACE/archives"
128 mv docs/_build/html archives/
131 - email-notification:
132 email-recipients: '{email-recipients}'
133 email-prefix: '[docs]'