5 - '{project-name}-rtd-jobs'
12 branch: stable/nitrogen
18 build-node: centos7-java-builder-2c-4g
19 rtd-project: opendaylight
23 name: 'docs-merge-rtd-{stream}'
24 node: centos7-java-builder-2c-8g
26 project-type: freestyle
29 - opendaylight-infra-properties:
30 build-days-to-keep: 14
33 - opendaylight-infra-parameters:
34 os-cloud: '{os-cloud}'
37 refspec: 'refs/heads/{branch}'
38 artifacts: '{archive-artifacts}'
41 - opendaylight-infra-wrappers:
46 server-name: '{server-name}'
49 - comment-added-contains-event:
50 comment-contains-value: 'remerge'
52 - project-compare-type: 'ANT'
55 - branch-compare-type: 'ANT'
56 branch-pattern: '**/{branch}'
59 pattern: docs/**/*.rst
62 - shell: !include-raw: docs-post-rtd.sh
66 email-recipients: '{email-recipients}'
67 email-prefix: '[docs]'
71 # FIXME: Describe this job in docs/jenkins.rst
72 name: 'docs-verify-rtd-{stream}'
73 node: centos7-java-builder-2c-8g
76 project-type: freestyle
79 - opendaylight-infra-properties:
80 build-days-to-keep: 14
83 - opendaylight-infra-parameters:
84 os-cloud: '{os-cloud}'
87 refspec: 'refs/heads/{branch}'
88 artifacts: '{archive-artifacts}'
91 - git-scm-with-submodules:
95 - opendaylight-infra-wrappers:
96 build-timeout: '{build-timeout}'
99 - gerrit-trigger-patch-submitted:
100 server: '{server-name}'
103 files: 'docs/**/*.rst'
108 if [ "$GERRIT_PROJECT" != "docs" ]; then
109 cd docs/submodules/$GERRIT_PROJECT
110 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
112 git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
115 virtualenv $WORKSPACE/venv
116 source $WORKSPACE/venv/bin/activate
117 PYTHON="$WORKSPACE/venv/bin/python"
118 $PYTHON -m pip install --upgrade pip
119 $PYTHON -m pip install --upgrade pipdeptree
120 $PYTHON -m pip install tox
124 # Archive generated docs
125 mkdir -p "$WORKSPACE/archives"
126 mv docs/_build/html archives/
129 - email-notification:
130 email-recipients: '{email-recipients}'
131 email-prefix: '[docs]'