715d2ddc3d0a6b444bda754dcef1d33f9b68721f
[ci-management.git] / jjb / csit / csit-vpp-honeycomb.yaml
1 - project:
2     name: csit-hc2vpp
3     description: 'CSIT jenkins jobs to test Hc2vpp features.'
4     jobs:
5         - 'csit-hc2vpp-functional-{stream}-{os}'
6     project: 'csit'
7     branch: 'master'
8     branch-id: 'master'
9     build-artifact-num-to-keep: 10
10     stream:
11         - master:
12             branch: 'master'
13             repo-stream-part: 'master'
14         - '1609':
15             branch: 'stable/1609'
16             repo-stream-part: 'stable.1609'
17     os:
18         - ubuntu1404
19
20 - job-template:
21     name: 'csit-hc2vpp-functional-{stream}-{os}'
22
23     project-type: freestyle
24     node: verify
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         - gerrit-parameter:
37             branch: '{branch}'
38         - os-parameter:
39             os: '{os}'
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     prebuilders:
56         - shell: |
57             if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
58
59     builders:
60         - shell:
61             !include-raw-escape: include-raw-csit-hc2vpp-functional-virl.sh
62
63     postbuilders:
64         - shell: |
65             if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
66
67     publishers:
68         - archive-artifacts:
69             artifacts: 'report.html, log.html, output.xml'
70             latest-only: false
71
72         - robot-report:
73             output-path: ''