Merge "Remove the need for mvn33 defaults"
[ci-management.git] / jjb / csit / csit-vpp-pylint.yaml
1 - project:
2     name: csit-validate
3
4     jobs:
5         - 'csit-validate-pylint-{stream}'
6
7     project: 'csit'
8     branch: 'master'
9     stream:
10         - master:
11             branch: 'master'
12         - '1606':
13             branch: 'rls1606'
14         - '1609':
15             branch: 'rls1609'
16
17 - job-template:
18     name: 'csit-validate-pylint-{stream}'
19
20     project-type: freestyle
21     node: verify
22     concurrent: true
23
24     logrotate:
25         daysToKeep: '{build-days-to-keep}'
26         numToKeep: '{build-num-to-keep}'
27         artifactDaysToKeep: '{build-artifact-days-to-keep}'
28         artifactNumToKeep: '{build-artifact-num-to-keep}'
29
30     parameters:
31         - project-parameter:
32             project: '{project}'
33         - gerrit-parameter:
34             branch: '{branch}'
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
47     triggers:
48         - gerrit-trigger-patch-submitted:
49             name: '{project}'
50             branch: '{branch}'
51
52     builders:
53         # This is where we will need to insert a step with a script that pulls all the
54         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
55         # See jjb/integration from ODL
56         - shell:
57             !include-raw-escape: include-raw-csit-pylint.sh
58
59     publishers:
60         - archive-artifacts:
61             artifacts: 'pylint.log'
62             latest-only: false
63         - violations:
64             pylint:
65                 min: 10
66                 max: 250
67                 unstable: 250
68                 pattern: 'pylint.log'