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