Merge "Add VPP 22.10 branch"
[ci-management.git] / jjb / vpp / docs.yaml
1 ---
2 - project:
3     name: docs
4     jobs:
5       - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
6       - 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
7
8     project: 'vpp'
9     executor-arch: 'x86_64'
10     os:
11       - 'ubuntu2004'
12       - 'ubuntu2204'
13     stream:
14       - 'master':
15           branch: 'master'
16           branch-refspec: ''
17       - '2202':
18           branch: 'stable/2202'
19           branch-refspec: ''
20       - '2206':
21           branch: 'stable/2206'
22           branch-refspec: ''
23       - '2210':
24           branch: 'stable/2210'
25           branch-refspec: ''
26     exclude:
27       # os deprecated in 22.10
28       - stream: '2210'
29         os: 'ubuntu2004'
30       # os deprecated in master
31       - stream: 'master'
32         os: 'ubuntu2004'
33       # os added in 22.10
34       - stream: '2202'
35         os: 'ubuntu2204'
36       # os added in 22.10
37       - stream: '2206'
38         os: 'ubuntu2204'
39
40 - job-template:
41     name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
42
43     project-type: freestyle
44     node: 'builder-{os}-prod-{executor-arch}'
45     concurrent: true
46     allow-empty: 'true'
47     fingerprint: false
48     only-if-success: true
49     default-excludes: false
50
51     properties:
52       - lf-infra-properties:
53           build-days-to-keep: "{build-days-to-keep}"
54
55     parameters:
56       - project-parameter:
57           project: '{project}'
58       - gerrit-parameter:
59           branch: '{branch}'
60       - os-parameter:
61           os: '{os}'
62       - stream-parameter:
63           stream: '{stream}'
64       - gerrit-refspec-parameter:
65           refspec: '{branch-refspec}'
66
67     scm:
68       - gerrit-trigger-scm:
69           credentials-id: 'jenkins-gerrit-credentials'
70           refspec: '$GERRIT_REFSPEC'
71           choosing-strategy: 'gerrit'
72
73     wrappers:
74       - fdio-infra-wrappers:
75           build-timeout: '{build-timeout}'
76
77     triggers:
78       - gerrit-trigger-checkstyle:
79           name: '{project}'
80           branch: '{branch}'
81
82     builders:
83       - shell:
84           !include-raw-escape:
85           - ../scripts/setup_executor_env.sh
86       - shell:
87           !include-raw-escape:
88           - ../scripts/setup_vpp_ubuntu_docker_test.sh
89       - shell:
90           !include-raw-escape:
91           - ../scripts/vpp/docs.sh
92
93     publishers:
94       - fdio-infra-publish
95
96 - job-template:
97     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
98
99     project-type: freestyle
100     node: 'builder-{os}-prod-{executor-arch}'
101     concurrent: false
102     allow-empty: 'true'
103     fingerprint: false
104     only-if-success: true
105     default-excludes: false
106
107     properties:
108       - lf-infra-properties:
109           build-days-to-keep: "{build-days-to-keep}"
110
111     parameters:
112       - project-parameter:
113           project: '{project}'
114       - gerrit-parameter:
115           branch: '{branch}'
116       - os-parameter:
117           os: '{os}'
118       - stream-parameter:
119           stream: '{stream}'
120
121     scm:
122       - gerrit-trigger-scm:
123           credentials-id: 'jenkins-gerrit-credentials'
124           refspec: ''
125           choosing-strategy: 'default'
126
127     wrappers:
128       - fdio-infra-wrappers:
129           build-timeout: '{build-timeout}'
130
131     triggers:
132       - reverse:
133           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
134           result: 'success'
135       - gerrit:
136           server-name: 'Primary'
137           trigger-on:
138             - comment-added-contains-event:
139                 comment-contains-value: 'run-docs'
140           projects:
141             - project-compare-type: 'ANT'
142               project-pattern: '{project}'
143               branches:
144                 - branch-compare-type: 'ANT'
145                   branch-pattern: '**/{branch}'
146           skip-vote:
147             successful: true
148             failed: true
149             unstable: true
150             notbuilt: true
151
152     builders:
153       - shell:
154           !include-raw-escape:
155           - ../scripts/setup_executor_env.sh
156       - shell:
157           !include-raw-escape:
158           - ../scripts/setup_vpp_ubuntu_docker_test.sh
159       - shell:
160           !include-raw-escape:
161           - ../scripts/vpp/docs.sh
162
163     publishers:
164       - fdio-infra-publish-docs
165       - fdio-infra-publish