Enable honeycomb/hc2vpp jobs for stable/1704
[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         - '1704':
17             branch: 'stable/1704'
18             repo-stream-part: 'stable.1704'
19     os:
20         - ubuntu1604:
21             repo-os-part: 'ubuntu.xenial.main'
22
23 - job-template:
24     name: 'hc2vpp-csit-integration-{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
44     scm:
45         - git-scm:
46             credentials-id: 'jenkins-gerrit-credentials'
47             branch: '{branch}'
48
49     wrappers:
50         - fdio-infra-wrappers:
51             build-timeout: '{build-timeout}'
52
53     triggers:
54         - reverse:
55             jobs: 'hc2vpp-integration-{stream}-{os}'
56             result: 'success'
57
58     builders:
59         - shell:
60             !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
61
62     publishers:
63         - archive-artifacts:
64             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
65             latest-only: false
66         - email-notification:
67             email-prefix: '[hc2vpp]'
68
69         - robot-report:
70             output-path: 'csit'
71
72 - job-template:
73     name: 'hc2vpp-csit-verify-{stream}-{os}'
74
75     project-type: maven
76     node: '{os}-basebuild-4c-4g'
77     jdk: openjdk8-{os}
78     concurrent: true
79
80     logrotate:
81         daysToKeep: '{build-days-to-keep}'
82         numToKeep: '{build-num-to-keep}'
83         artifactDaysToKeep: '{build-artifact-days-to-keep}'
84         artifactNumToKeep: '{build-artifact-num-to-keep}'
85
86     parameters:
87         - project-parameter:
88             project: '{project}'
89         - gerrit-parameter:
90             branch: '{branch}'
91         - os-parameter:
92             os: '{os}'
93         - maven-project-parameter:
94             maven: 'mvn33-new'
95         - maven-exec:
96             maven-version: 'mvn33-new'
97         - stream-parameter:
98             stream: '{stream}'
99
100     scm:
101         - gerrit-trigger-scm:
102             credentials-id: 'jenkins-gerrit-credentials'
103             refspec: ''
104             choosing-strategy: 'default'
105             branch: '{branch}'
106
107     wrappers:
108         - fdio-infra-wrappers:
109             build-timeout: '{build-timeout}'
110
111     triggers:
112         - gerrit:
113             server-name: 'Primary'
114             trigger-on:
115                 - comment-added-contains-event:
116                     comment-contains-value: 'verify-csit'
117             projects:
118               - project-compare-type: 'ANT'
119                 project-pattern: '{project}'
120                 branches:
121                   - branch-compare-type: 'ANT'
122                     branch-pattern: '**/{branch}'
123             skip-vote:
124                 successful: true
125                 failed: true
126                 unstable: true
127                 notbuilt: true
128
129     prebuilders:
130         - shell:
131             !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
132
133     maven:
134         maven-name: 'mvn33-new'
135         root-pom: 'pom.xml'
136         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DskipTests -Dcheckstyle.skip=true'
137         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
138         settings: 'hc2vpp-settings'
139         settings-type: cfp
140         global-settings: 'global-settings'
141         global-settings-type: cfp
142
143     postbuilders:
144         - shell:
145             !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
146
147     publishers:
148         - archive-artifacts:
149             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
150             latest-only: false
151         - email-notification:
152             email-prefix: '[hc2vpp]'
153
154         - robot-report:
155             output-path: 'csit'