Merge "Python API: Missing python-all package needed by .deb packaging."
[ci-management.git] / jjb / hc2vpp / csit-hc2vpp.yaml
1 - project:
2     name: csit-hc2vpp
3     description: 'jenkins jobs to test Hc2vpp features.'
4     jobs:
5         - 'hc2vpp-csit-integration-{stream}-{os}'
6         - 'hc2vpp-csit-verify-{stream}-{os}'
7     project: 'hc2vpp'
8     build-artifact-num-to-keep: 10
9     stream:
10         - master:
11             branch: 'master'
12             repo-stream-part: 'master'
13         - '1701':
14             branch: 'stable/1701'
15             repo-stream-part: 'stable.1701'
16     os:
17         - ubuntu1604:
18             repo-os-part: 'ubuntu.xenial.main'
19
20 - job-template:
21     name: 'hc2vpp-csit-integration-{stream}-{os}'
22
23     project-type: freestyle
24     node: '{os}-basebuild-4c-4g'
25     concurrent: true
26
27     logrotate:
28         daysToKeep: '{build-days-to-keep}'
29         numToKeep: '{build-num-to-keep}'
30         artifactDaysToKeep: '{build-artifact-days-to-keep}'
31         artifactNumToKeep: '{build-artifact-num-to-keep}'
32
33     parameters:
34         - project-parameter:
35             project: '{project}'
36         - os-parameter:
37             os: '{os}'
38         - stream-parameter:
39             stream: '{stream}'
40
41     scm:
42         - git-scm:
43             credentials-id: 'jenkins-gerrit-credentials'
44             branch: '{branch}'
45
46     wrappers:
47         - fdio-infra-wrappers:
48             build-timeout: '{build-timeout}'
49
50     triggers:
51         - reverse:
52             jobs: 'hc2vpp-integration-{stream}-{os}'
53             result: 'success'
54
55     builders:
56         - shell:
57             !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
58
59     publishers:
60         - archive-artifacts:
61             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
62             latest-only: false
63         - email-notification:
64             email-prefix: '[hc2vpp]'
65
66         - robot-report:
67             output-path: 'csit'
68
69 - job-template:
70     name: 'hc2vpp-csit-verify-{stream}-{os}'
71
72     project-type: maven
73     node: '{os}-basebuild-4c-4g'
74     jdk: openjdk8-{os}
75     concurrent: true
76
77     logrotate:
78         daysToKeep: '{build-days-to-keep}'
79         numToKeep: '{build-num-to-keep}'
80         artifactDaysToKeep: '{build-artifact-days-to-keep}'
81         artifactNumToKeep: '{build-artifact-num-to-keep}'
82
83     parameters:
84         - project-parameter:
85             project: '{project}'
86         - gerrit-parameter:
87             branch: '{branch}'
88         - os-parameter:
89             os: '{os}'
90         - maven-project-parameter:
91             maven: 'mvn33-new'
92         - maven-exec:
93             maven-version: 'mvn33-new'
94         - stream-parameter:
95             stream: '{stream}'
96
97     scm:
98         - gerrit-trigger-scm:
99             credentials-id: 'jenkins-gerrit-credentials'
100             refspec: ''
101             choosing-strategy: 'default'
102             branch: '{branch}'
103
104     wrappers:
105         - fdio-infra-wrappers:
106             build-timeout: '{build-timeout}'
107
108     triggers:
109         - gerrit:
110             server-name: 'Primary'
111             trigger-on:
112                 - comment-added-contains-event:
113                     comment-contains-value: 'verify-csit'
114             projects:
115               - project-compare-type: 'ANT'
116                 project-pattern: '{project}'
117                 branches:
118                   - branch-compare-type: 'ANT'
119                     branch-pattern: '**/{branch}'
120             skip-vote:
121                 successful: true
122                 failed: true
123                 unstable: true
124                 notbuilt: true
125
126     prebuilders:
127         - shell:
128             !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
129
130     maven:
131         maven-name: 'mvn33-new'
132         root-pom: 'pom.xml'
133         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DskipTests -Dcheckstyle.skip=true'
134         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
135         settings: 'hc2vpp-settings'
136         settings-type: cfp
137         global-settings: 'global-settings'
138         global-settings-type: cfp
139
140     postbuilders:
141         - shell:
142             !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
143
144     publishers:
145         - archive-artifacts:
146             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
147             latest-only: false
148         - email-notification:
149             email-prefix: '[hc2vpp]'
150
151         - robot-report:
152             output-path: 'csit'