CSIT-56: Automated run of Honeycomb tests
[ci-management.git] / jjb / csit / csit-vpp-honeycomb.yaml
1 - project:
2     name: csit-honeycomb
3     description: 'CSIT jenkins jobs to test Honeycomb features.'
4     jobs:
5         - 'csit-honeycomb-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-honeycomb-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     wrappers:
42         - fdio-infra-wrappers:
43             build-timeout: '{build-timeout}'
44
45     triggers:
46         - reverse:
47             jobs: 'honeycomb-integration-{stream}-{os}'
48             result: 'success'
49
50     prebuilders:
51         - shell: |
52             if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi
53
54     builders:
55         - shell:
56             !include-raw-escape: include-raw-csit-honeycomb-functional-virl.sh
57
58     postbuilders:
59         - shell: |
60             if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi
61
62     publishers:
63         - archive-artifacts:
64             artifacts: 'report.html, log.html, output.xml'
65             latest-only: false
66
67         - robot-report:
68             output-path: ''