Add VPP 23.02 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       - '2206':
18           branch: 'stable/2206'
19           branch-refspec: ''
20       - '2210':
21           branch: 'stable/2210'
22           branch-refspec: ''
23       - '2302':
24           branch: 'stable/2302'
25           branch-refspec: ''
26     exclude:
27       # os deprecated in 23.02
28       - stream: '2302'
29         os: 'ubuntu2004'
30       # os deprecated in 22.10
31       - stream: '2210'
32         os: 'ubuntu2004'
33       # os deprecated in master
34       - stream: 'master'
35         os: 'ubuntu2004'
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-docs-7day
95       - fdio-infra-publish
96
97 - job-template:
98     name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
99
100     project-type: freestyle
101     node: 'builder-{os}-prod-{executor-arch}'
102     concurrent: false
103     allow-empty: 'true'
104     fingerprint: false
105     only-if-success: true
106     default-excludes: false
107
108     properties:
109       - lf-infra-properties:
110           build-days-to-keep: "{build-days-to-keep}"
111
112     parameters:
113       - project-parameter:
114           project: '{project}'
115       - gerrit-parameter:
116           branch: '{branch}'
117       - os-parameter:
118           os: '{os}'
119       - stream-parameter:
120           stream: '{stream}'
121
122     scm:
123       - gerrit-trigger-scm:
124           credentials-id: 'jenkins-gerrit-credentials'
125           refspec: ''
126           choosing-strategy: 'default'
127
128     wrappers:
129       - fdio-infra-wrappers:
130           build-timeout: '{build-timeout}'
131
132     triggers:
133       - reverse:
134           jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
135           result: 'success'
136       - gerrit:
137           server-name: 'Primary'
138           trigger-on:
139             - comment-added-contains-event:
140                 comment-contains-value: 'run-docs'
141           projects:
142             - project-compare-type: 'ANT'
143               project-pattern: '{project}'
144               branches:
145                 - branch-compare-type: 'ANT'
146                   branch-pattern: '**/{branch}'
147           skip-vote:
148             successful: true
149             failed: true
150             unstable: true
151             notbuilt: true
152
153     builders:
154       - shell:
155           !include-raw-escape:
156           - ../scripts/setup_executor_env.sh
157       - shell:
158           !include-raw-escape:
159           - ../scripts/setup_vpp_ubuntu_docker_test.sh
160       - shell:
161           !include-raw-escape:
162           - ../scripts/vpp/docs.sh
163
164     publishers:
165       - fdio-infra-publish-docs
166       - fdio-infra-publish