CSIT jobs - branching
[ci-management.git] / jjb / csit / csit-vpp-pylint.yaml
1 - project:
2     name: csit-validate
3
4     jobs:
5         - 'csit-validate-pylint-master'
6
7     project: 'csit'
8     branch: 'master'
9
10 - job-template:
11     name: 'csit-validate-pylint-master'
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
40     triggers:
41         - gerrit-trigger-patch-submitted:
42             name: '{project}'
43             branch: '{branch}'
44
45     builders:
46         # This is where we will need to insert a step with a script that pulls all the
47         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
48         # See jjb/integration from ODL
49         - shell:
50             !include-raw-escape include-raw-csit-pylint.sh
51
52     publishers:
53         - archive-artifacts:
54             artifacts: 'pylint.log'
55             latest-only: false
56         - violations:
57             pylint:
58                 min: 10
59                 max: 250
60                 unstable: 250
61                 pattern: 'pylint.log'