summaryrefslogtreecommitdiffstats
path: root/jjb/csit/csit-vpp-honeycomb.yaml
blob: 715d2ddc3d0a6b444bda754dcef1d33f9b68721f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
- project:
    name: csit-hc2vpp
    description: 'CSIT jenkins jobs to test Hc2vpp features.'
    jobs:
        - 'csit-hc2vpp-functional-{stream}-{os}'
    project: 'csit'
    branch: 'master'
    branch-id: 'master'
    build-artifact-num-to-keep: 10
    stream:
        - master:
            branch: 'master'
            repo-stream-part: 'master'
        - '1609':
            branch: 'stable/1609'
            repo-stream-part: 'stable.1609'
    os:
        - ubuntu1404

- job-template:
    name: 'csit-hc2vpp-functional-{stream}-{os}'

    project-type: freestyle
    node: verify
    concurrent: true

    logrotate:
        daysToKeep: '{build-days-to-keep}'
        numToKeep: '{build-num-to-keep}'
        artifactDaysToKeep: '{build-artifact-days-to-keep}'
        artifactNumToKeep: '{build-artifact-num-to-keep}'

    parameters:
        - project-parameter:
            project: '{project}'
        - gerrit-parameter:
            branch: '{branch}'
        - os-parameter:
            os: '{os}'

    scm:
        - git-scm:
            credentials-id: 'jenkins-gerrit-credentials'
            branch: '{branch}'

    wrappers:
        - fdio-infra-wrappers:
            build-timeout: '{build-timeout}'

    triggers:
        - reverse:
            jobs: 'hc2vpp-integration-{stream}-{os}'
            result: 'success'

    prebuilders:
        - shell: |
            if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.8.0-openjdk-amd64||echo 'ignoring failure';fi

    builders:
        - shell:
            !include-raw-escape: include-raw-csit-hc2vpp-functional-virl.sh

    postbuilders:
        - shell: |
            if [ "${{OS}}" == "ubuntu1404" ];then sudo update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64||echo 'ignoring failure';fi

    publishers:
        - archive-artifacts:
            artifacts: 'report.html, log.html, output.xml'
            latest-only: false

        - robot-report:
            output-path: ''