Merge "Add violations publisher plugin for pylint."
[ci-management.git] / jjb / csit / csit-vpp-functional.yaml
1 - project:
2     name: csit-vpp-functional
3     description: 'Run VPP functional tests on VIRL.'
4
5     jobs:
6         - 'csit-vpp-{functionality}'
7
8     project: 'csit'
9     branch: 'master'
10
11     functionality: 'functional-virl'
12
13 - job-template:
14     name: 'csit-vpp-{functionality}'
15
16     project-type: freestyle
17     node: verify
18     concurrent: false
19
20     logrotate:
21         daysToKeep: '{build-days-to-keep}'
22         numToKeep: '{build-num-to-keep}'
23         artifactDaysToKeep: '{build-artifact-days-to-keep}'
24         artifactNumToKeep: '{build-artifact-num-to-keep}'
25
26     parameters:
27         - project-parameter:
28             project: '{project}'
29         - gerrit-parameter:
30             branch: '{branch}'
31         - string:
32             name: 'VPP_URLS'
33             default: ''
34             description: 'Space separated VPP *.deb URLs from nexus'
35
36     scm:
37         - gerrit-trigger-scm:
38             credentials-id: '{ssh-credentials}'
39             refspec: '$GERRIT_REFSPEC'
40             choosing-strategy: 'gerrit'
41
42     wrappers:
43         - ssh-agent-credentials:
44             users:
45                 - '{ssh-credentials}'
46         # - jclouds:
47         #     instances:
48         #         - multi-link:
49         #             cloud-name: 'Primary'
50         #             count: 3
51         #             stop-on-terminate: False
52
53     # TODO: Rewrite following trigger. Whis job has to be triggered by
54     # VPP verification build. This job requires built VPP DEBs.
55     # Until CSIT is fully integrated with VIRL & HW lab, trigger this build by
56     # csit patch submit.
57     triggers:
58         - gerrit-trigger-patch-submitted:
59             name: '{project}'
60             branch: '{branch}'
61
62
63     builders:
64         # This is where we will need to insert a step with a script that pulls all the
65         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
66         # See jjb/integration from ODL
67         - shell:
68             !include-raw-escape include-raw-csit-vpp-functional-virl.sh
69
70     publishers:
71         - archive-artifacts:
72             artifacts: 'report.html, log.html, output.xml'
73             latest-only: false
74
75         - robot-report
76