Modify OS syntax
[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         - '1801':
17             branch: 'rls1801'
18         - '1804':
19             branch: 'rls1804'
20         - '1807':
21             branch: 'rls1807'
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-trigger-manually-triggered:
58             comment-trigger-value: 'verify-hc2vpp-func'
59             name: '{project}'
60             branch: '{branch}'
61
62     builders:
63         - shell:
64             !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
65
66     publishers:
67         - archive-artifacts:
68             artifacts: 'archive/*.*'
69             latest-only: false
70
71         - email-notification:
72             email-prefix: '[csit]'
73
74         - robot-report:
75             output-path: 'archive'
76
77         - fdio-infra-shiplogs:
78             maven-version: 'mvn33-new'
79
80 - job-template:
81     name: 'csit-hc2vpp-verify-perf-{stream}'
82
83     project-type: freestyle
84     node: 'ubuntu1604-basebuild-4c-4g'
85     concurrent: false
86
87     logrotate:
88         daysToKeep: '{build-days-to-keep}'
89         numToKeep: '{build-num-to-keep}'
90         artifactDaysToKeep: '{build-artifact-days-to-keep}'
91         artifactNumToKeep: '{build-artifact-num-to-keep}'
92
93     parameters:
94         - project-parameter:
95             project: '{project}'
96         - os-parameter:
97             os: '{os}'
98         - stream-parameter:
99             stream: '{stream}'
100         - gerrit-parameter:
101             branch: '{branch}'
102
103     scm:
104         - gerrit-trigger-scm:
105             credentials-id: 'jenkins-gerrit-credentials'
106             refspec: '$GERRIT_REFSPEC'
107             choosing-strategy: 'gerrit'
108
109     wrappers:
110         - fdio-infra-wrappers:
111             build-timeout: '{build-timeout}'
112
113     triggers:
114         - gerrit-trigger-manually-triggered:
115             comment-trigger-value: 'verify-hc2vpp-perf'
116             name: '{project}'
117             branch: '{branch}'
118
119     builders:
120         - shell:
121             !include-raw-escape: include-raw-csit-hc2vpp-verify-perf.sh
122
123     publishers:
124         - archive-artifacts:
125             artifacts: 'archive/*.*'
126             latest-only: false
127
128         - email-notification:
129             email-prefix: '[csit]'
130
131         - robot-report:
132             output-path: 'archive'
133
134         - fdio-infra-shiplogs:
135             maven-version: 'mvn33-new'