Merge "Rework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs."
[ci-management.git] / jjb / csit / csit-vpp-pylint.yaml
1 - project:
2     name: csit-validate
3
4     jobs:
5         - 'csit-validate-{functionality}'
6
7     project: 'csit'
8     branch: 'master'
9
10     functionality: 'pylint'
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
31     scm:
32         - gerrit-trigger-scm:
33             credentials-id: '{ssh-credentials}'
34             refspec: '$GERRIT_REFSPEC'
35             choosing-strategy: 'gerrit'
36
37     wrappers:
38         - ssh-agent-credentials:
39             users:
40                 - '{ssh-credentials}'
41         - jclouds:
42             instances:
43                 - multi-link:
44                     cloud-name: 'Primary'
45                     count: 3
46                     stop-on-terminate: False
47
48     triggers:
49         - gerrit-trigger-patch-submitted:
50             name: '{project}'
51             branch: '{branch}'
52
53     builders:
54         # This is where we will need to insert a step with a script that pulls all the 
55         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
56         # See jjb/integration from ODL
57         - shell:
58             !include-raw-escape include-raw-csit-pylint.sh
59
60     publishers:
61         - archive-artifacts:
62             artifacts: 'build-root/**'