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