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