Merge " Patch for the nsh_sfc jenkins job scheduler."
[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'
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'
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: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
66             latest-only: false
67         - email-notification:
68             email-prefix: '[csit]'
69         - robot-report:
70             output-path: 'csit'
71
72 - job-template:
73     name: 'csit-hc2vpp-verify-perf'
74
75     project-type: freestyle
76     node: '{os}-basebuild-4c-4g'
77     concurrent: false
78
79     logrotate:
80         daysToKeep: '{build-days-to-keep}'
81         numToKeep: '{build-num-to-keep}'
82         artifactDaysToKeep: '{build-artifact-days-to-keep}'
83         artifactNumToKeep: '{build-artifact-num-to-keep}'
84
85     parameters:
86         - project-parameter:
87             project: '{project}'
88         - os-parameter:
89             os: '{os}'
90         - stream-parameter:
91             stream: 'master'
92
93     scm:
94         - gerrit-trigger-scm:
95             credentials-id: 'jenkins-gerrit-credentials'
96             refspec: '$GERRIT_REFSPEC'
97             choosing-strategy: 'gerrit'
98
99     wrappers:
100         - fdio-infra-wrappers:
101             build-timeout: '{build-timeout}'
102
103     triggers:
104         - gerrit:
105             server-name: 'Primary'
106             trigger-on:
107                 - comment-added-contains-event:
108                     comment-contains-value: 'verify-hc2vpp-perf'
109
110             projects:
111               - project-compare-type: 'ANT'
112                 project-pattern: '{project}'
113                 branches:
114                   - branch-compare-type: 'ANT'
115                     branch-pattern: '**/{branch}'
116
117     builders:
118         - shell:
119             !include-raw-escape: include-raw-csit-hc2vpp-verify-perf.sh
120
121     publishers:
122         - archive-artifacts:
123             artifacts: 'csit/archive/*.*'
124             latest-only: false
125
126         - robot-report:
127             output-path: 'csit/archive'
128
129         - fdio-infra-shiplogs:
130             maven-version: 'mvn33-new'