ed788fdbaca062fbe4442c50d02e99fd26f43a68
[ci-management.git] / jjb / csit / csit-hc2vpp.yaml
1 ---
2 - project:
3     name: csit-hc2vpp
4     description: 'jenkins jobs verify Hc2vpp functional and performance tests'
5     jobs:
6       - 'csit-hc2vpp-verify-func-{stream}-{os}'
7     project: 'csit'
8     branch: 'master'
9     build-artifact-num-to-keep: 10
10     os:
11       - ubuntu1804:
12           repo-os-part: 'ubuntu.bionic.main'
13       - ubuntu1604:
14           repo-os-part: 'ubuntu.xenial.main'
15
16     stream:
17       - '1904':
18           branch: 'rls1904'
19           branch-id: 'oper-rls1904'
20       - '1908':
21           branch: 'rls1908'
22           branch-id: 'oper-rls1908'
23
24 - job-template:
25     name: 'csit-hc2vpp-verify-func-{stream}-{os}'
26
27     project-type: freestyle
28     node: '{os}-basebuild-4c-4g'
29     concurrent: true
30     archive-artifacts: 'archive/*.*'
31     latest-only: false
32
33     build-discarder:
34       daysToKeep: '{build-days-to-keep}'
35       numToKeep: '{build-num-to-keep}'
36       artifactDaysToKeep: '{build-artifact-days-to-keep}'
37       artifactNumToKeep: '{build-artifact-num-to-keep}'
38
39     parameters:
40       - project-parameter:
41           project: '{project}'
42       - os-parameter:
43           os: '{os}'
44       - stream-parameter:
45           stream: '{stream}'
46       - gerrit-parameter:
47           branch: '{branch}'
48       - string:
49           name: ARCHIVE_ARTIFACTS
50           default: '{archive-artifacts}'
51           description: Artifacts to archive to the logs server.
52
53     scm:
54       - gerrit-trigger-scm:
55           credentials-id: 'jenkins-gerrit-credentials'
56           refspec: '$GERRIT_REFSPEC'
57           choosing-strategy: 'gerrit'
58
59     wrappers:
60       - fdio-infra-wrappers:
61           build-timeout: '{build-timeout}'
62
63     triggers:
64       - gerrit-trigger-manually-triggered:
65           comment-trigger-value: 'verify-hc2vpp-func'
66           name: '{project}'
67           branch: '{branch}'
68
69     builders:
70       - shell:
71           !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
72
73     publishers:
74       - email-notification:
75           email-prefix: '[csit]'
76
77       - robot-report:
78           output-path: 'archive'
79
80       - fdio-infra-shiplogs:
81           maven-version: 'mvn36'