Merge "Update archive items path for csit-hc2vpp jobs"
[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-{os}'
6         - 'csit-hc2vpp-verify-perf'
7     project: 'csit'
8     branch: 'master'
9     build-artifact-num-to-keep: 10
10
11     os:
12         - ubuntu1604:
13             repo-os-part: 'ubuntu.xenial.main'
14
15 - job-template:
16     name: 'csit-hc2vpp-verify-func-{os}'
17
18     project-type: freestyle
19     node: '{os}-basebuild-4c-4g'
20     concurrent: true
21
22     logrotate:
23         daysToKeep: '{build-days-to-keep}'
24         numToKeep: '{build-num-to-keep}'
25         artifactDaysToKeep: '{build-artifact-days-to-keep}'
26         artifactNumToKeep: '{build-artifact-num-to-keep}'
27
28     parameters:
29         - project-parameter:
30             project: '{project}'
31         - os-parameter:
32             os: '{os}'
33         - stream-parameter:
34             stream: 'master'
35
36     scm:
37         - gerrit-trigger-scm:
38             credentials-id: 'jenkins-gerrit-credentials'
39             refspec: '$GERRIT_REFSPEC'
40             choosing-strategy: 'gerrit'
41
42     wrappers:
43         - fdio-infra-wrappers:
44             build-timeout: '{build-timeout}'
45
46     triggers:
47         - gerrit:
48             server-name: 'Primary'
49             trigger-on:
50                 - comment-added-contains-event:
51                     comment-contains-value: 'verify-hc2vpp-func'
52             projects:
53               - project-compare-type: 'ANT'
54                 project-pattern: '{project}'
55                 branches:
56                   - branch-compare-type: 'ANT'
57                     branch-pattern: '**/{branch}'
58
59     builders:
60         - shell:
61             !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
62
63     publishers:
64         - archive-artifacts:
65             artifacts: 'archive/*.*'
66             latest-only: false
67
68         - email-notification:
69             email-prefix: '[csit]'
70
71         - robot-report:
72             output-path: 'archive'
73
74 - job-template:
75     name: 'csit-hc2vpp-verify-perf'
76
77     project-type: freestyle
78     node: 'ubuntu1604-basebuild-4c-4g'
79     concurrent: false
80
81     logrotate:
82         daysToKeep: '{build-days-to-keep}'
83         numToKeep: '{build-num-to-keep}'
84         artifactDaysToKeep: '{build-artifact-days-to-keep}'
85         artifactNumToKeep: '{build-artifact-num-to-keep}'
86
87     parameters:
88         - project-parameter:
89             project: '{project}'
90         - os-parameter:
91             os: '{os}'
92         - stream-parameter:
93             stream: 'master'
94
95     scm:
96         - gerrit-trigger-scm:
97             credentials-id: 'jenkins-gerrit-credentials'
98             refspec: '$GERRIT_REFSPEC'
99             choosing-strategy: 'gerrit'
100
101     wrappers:
102         - fdio-infra-wrappers:
103             build-timeout: '{build-timeout}'
104
105     triggers:
106         - gerrit:
107             server-name: 'Primary'
108             trigger-on:
109                 - comment-added-contains-event:
110                     comment-contains-value: 'verify-hc2vpp-perf'
111
112             projects:
113               - project-compare-type: 'ANT'
114                 project-pattern: '{project}'
115                 branches:
116                   - branch-compare-type: 'ANT'
117                     branch-pattern: '**/{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'