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