Rework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs.
[ci-management.git] / jjb / csit / csit-vpp-functional.yaml
1 - project:
2     name: csit-vpp-functional
3
4     jobs:
5         - 'csit-vpp-{functionality}'
6
7     project: 'csit'
8     branch: 'master'
9
10     functionality: 'functional'
11
12 - job-template:
13     name: 'csit-vpp-{functionality}'
14
15     project-type: freestyle
16     node: verify
17     concurrent: true
18
19     logrotate:
20         daysToKeep: '{build-days-to-keep}'
21         numToKeep: '{build-num-to-keep}'
22         artifactDaysToKeep: '{build-artifact-days-to-keep}'
23         artifactNumToKeep: '{build-artifact-num-to-keep}'
24
25     parameters:
26         - project-parameter:
27             project: '{project}'
28         - gerrit-parameter:
29             branch: '{branch}'
30         - string:
31             name: 'VPP_URLS'
32             default: ''
33             description: 'Space separated VPP *.deb URLs from nexus'
34
35     scm:
36         - gerrit-trigger-scm:
37             credentials-id: '{ssh-credentials}'
38             refspec: '$GERRIT_REFSPEC'
39             choosing-strategy: 'gerrit'
40
41     wrappers:
42         - ssh-agent-credentials:
43             users:
44                 - '{ssh-credentials}'
45         # - jclouds:
46         #     instances:
47         #         - multi-link:
48         #             cloud-name: 'Primary'
49         #             count: 3
50         #             stop-on-terminate: False
51
52     # No triggers section, as it is expected that his job is triggered by
53     # vpp verify/merge job.
54
55     builders:
56         # This is where we will need to insert a step with a script that pulls all the
57         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
58         # See jjb/integration from ODL
59         - shell:
60             !include-raw-escape include-raw-csit-build.sh
61
62     publishers:
63         - archive-artifacts:
64             artifacts: 'report.html, log.html, output.xml'