HC2VPP: archive JOB artifacts to logs.fd.io
[ci-management.git] / jjb / csit / csit-hc2vpp.yaml
1 - project:
2     name: csit-hc2vpp
3     description: 'jenkins jobs to verify Hc2vpp functional and performance tests.'
4     jobs:
5         - 'csit-hc2vpp-verify-func-{stream}-{os}'
6         - 'csit-hc2vpp-verify-perf-{stream}'
7     project: 'csit'
8     branch: 'master'
9     build-artifact-num-to-keep: 10
10     os:
11         - ubuntu1604:
12             repo-os-part: 'ubuntu.xenial.main'
13     stream:
14         - master:
15             branch: 'master'
16         - '1710':
17             branch: 'rls1710'
18         - '1801':
19             branch: 'rls1801'
20         - '1804':
21             branch: 'rls1804'
22
23 - job-template:
24     name: 'csit-hc2vpp-verify-func-{stream}-{os}'
25
26     project-type: freestyle
27     node: '{os}-basebuild-4c-4g'
28     concurrent: true
29
30     logrotate:
31         daysToKeep: '{build-days-to-keep}'
32         numToKeep: '{build-num-to-keep}'
33         artifactDaysToKeep: '{build-artifact-days-to-keep}'
34         artifactNumToKeep: '{build-artifact-num-to-keep}'
35
36     parameters:
37         - project-parameter:
38             project: '{project}'
39         - os-parameter:
40             os: '{os}'
41         - stream-parameter:
42             stream: '{stream}'
43         - gerrit-parameter:
44             branch: '{branch}'
45
46     scm:
47         - gerrit-trigger-scm:
48             credentials-id: 'jenkins-gerrit-credentials'
49             refspec: '$GERRIT_REFSPEC'
50             choosing-strategy: 'gerrit'
51
52     wrappers:
53         - fdio-infra-wrappers:
54             build-timeout: '{build-timeout}'
55
56     triggers:
57         - gerrit:
58             server-name: 'Primary'
59             trigger-on:
60                 - comment-added-contains-event:
61                     comment-contains-value: 'verify-hc2vpp-func'
62             projects:
63               - project-compare-type: 'ANT'
64                 project-pattern: '{project}'
65                 branches:
66                   - branch-compare-type: 'ANT'
67                     branch-pattern: '**/{branch}'
68
69     builders:
70         - shell:
71             !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
72
73     publishers:
74         - archive-artifacts:
75             artifacts: 'archive/*.*'
76             latest-only: false
77
78         - email-notification:
79             email-prefix: '[csit]'
80
81         - robot-report:
82             output-path: 'archive'
83
84         - fdio-infra-shiplogs:
85             maven-version: 'mvn33-new'
86
87 - job-template:
88     name: 'csit-hc2vpp-verify-perf-{stream}'
89
90     project-type: freestyle
91     node: 'ubuntu1604-basebuild-4c-4g'
92     concurrent: false
93
94     logrotate:
95         daysToKeep: '{build-days-to-keep}'
96         numToKeep: '{build-num-to-keep}'
97         artifactDaysToKeep: '{build-artifact-days-to-keep}'
98         artifactNumToKeep: '{build-artifact-num-to-keep}'
99
100     parameters:
101         - project-parameter:
102             project: '{project}'
103         - os-parameter:
104             os: '{os}'
105         - stream-parameter:
106             stream: '{stream}'
107         - gerrit-parameter:
108             branch: '{branch}'
109
110     scm:
111         - gerrit-trigger-scm:
112             credentials-id: 'jenkins-gerrit-credentials'
113             refspec: '$GERRIT_REFSPEC'
114             choosing-strategy: 'gerrit'
115
116     wrappers:
117         - fdio-infra-wrappers:
118             build-timeout: '{build-timeout}'
119
120     triggers:
121         - gerrit:
122             server-name: 'Primary'
123             trigger-on:
124                 - comment-added-contains-event:
125                     comment-contains-value: 'verify-hc2vpp-perf'
126
127             projects:
128               - project-compare-type: 'ANT'
129                 project-pattern: '{project}'
130                 branches:
131                   - branch-compare-type: 'ANT'
132                     branch-pattern: '**/{branch}'
133
134     builders:
135         - shell:
136             !include-raw-escape: include-raw-csit-hc2vpp-verify-perf.sh
137
138     publishers:
139         - archive-artifacts:
140             artifacts: 'archive/*.*'
141             latest-only: false
142
143         - email-notification:
144             email-prefix: '[csit]'
145
146         - robot-report:
147             output-path: 'archive'
148
149         - fdio-infra-shiplogs:
150             maven-version: 'mvn33-new'