Remove unsupported Beryllium jobs
[releng/builder.git] / jjb / docs / docs-rtd.yaml
1 ---
2 - project:
3     name: docs-rtd
4     jobs:
5       - 'docs-merge-rtd-{stream}'
6       - 'docs-verify-rtd-{stream}'
7       - '{project-name}-verify-tox-{stream}'
8
9     stream:
10       - nitrogen:
11           branch: 'master'
12           jre: 'openjdk8'
13       - carbon:
14           branch: 'stable/carbon'
15       - boron:
16           branch: 'stable/boron'
17
18     project: docs
19     project-name: docs
20     rtdproject: opendaylight
21     archive-artifacts: 'docs/_build/html/**'
22
23 - job-template:
24     name: 'docs-merge-rtd-{stream}'
25     node: centos7-java-builder-2c-8g
26
27     project-type: freestyle
28
29     properties:
30       - opendaylight-infra-properties:
31           build-days-to-keep: 14
32
33     parameters:
34       - opendaylight-infra-parameters:
35           os-cloud: '{os-cloud}'
36           project: '{project}'
37           branch: '{branch}'
38           refspec: 'refs/heads/{branch}'
39           artifacts: '{archive-artifacts}'
40
41     wrappers:
42       - opendaylight-infra-wrappers:
43           build-timeout: '30'
44
45     triggers:
46       - gerrit:
47           server-name: '{server-name}'
48           trigger-on:
49             - change-merged-event
50             - comment-added-contains-event:
51                 comment-contains-value: 'remerge'
52           projects:
53             - project-compare-type: 'ANT'
54               project-pattern: '**'
55               branches:
56                 - branch-compare-type: 'ANT'
57                   branch-pattern: '**/{branch}'
58               file-paths:
59                 - compare-type: ANT
60                   pattern: docs/**/*.rst
61
62     builders:
63       - shell: !include-raw: docs-post-rtd.sh
64
65     publishers:
66       - email-notification:
67           email-recipients: '{email-recipients}'
68           email-prefix: '[docs]'
69       - opendaylight-infra-shiplogs:
70           maven-version: 'mvn33'
71
72 - job-template:
73     # FIXME: Describe this job in docs/jenkins.rst
74     name: 'docs-verify-rtd-{stream}'
75     node: centos7-java-builder-2c-8g
76     concurrent: true
77
78     project-type: freestyle
79
80     properties:
81       - opendaylight-infra-properties:
82           build-days-to-keep: 14
83
84     parameters:
85       - opendaylight-infra-parameters:
86           os-cloud: '{os-cloud}'
87           project: '{project}'
88           branch: '{branch}'
89           refspec: 'refs/heads/{branch}'
90           artifacts: '{archive-artifacts}'
91
92     scm:
93       - git-scm-with-submodules:
94           branch: '{branch}'
95
96     wrappers:
97       - opendaylight-infra-wrappers:
98           build-timeout: '{build-timeout}'
99
100     triggers:
101       - gerrit-trigger-patch-submitted:
102           server: '{server-name}'
103           project: '**'
104           branch: '{branch}'
105           files: 'docs/**/*.rst'
106       - timed: 'H H * * *'
107
108     builders:
109       - shell: |
110           if [ "$GERRIT_PROJECT" != "docs" ]; then
111               cd docs/submodules/$GERRIT_PROJECT
112               git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
113           else
114               git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
115           fi
116       - shell: |
117           virtualenv $WORKSPACE/venv
118           source $WORKSPACE/venv/bin/activate
119           pip install --upgrade pip
120           pip freeze
121           pip install tox
122           tox -edocs
123
124     publishers:
125       - email-notification:
126           email-recipients: '{email-recipients}'
127           email-prefix: '[docs]'
128       - opendaylight-infra-shiplogs:
129           maven-version: 'mvn33'