c30667ff86f270c30404f3c089a0df92743ba06d
[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
13 - job-template:
14     name: 'csit-validate-pylint-{stream}'
15
16     project-type: freestyle
17     node: ubuntu1604-basebuild-4c-4g
18     concurrent: true
19
20     logrotate:
21         daysToKeep: '{build-days-to-keep}'
22         numToKeep: '{build-num-to-keep}'
23         artifactDaysToKeep: '{build-artifact-days-to-keep}'
24         artifactNumToKeep: '{build-artifact-num-to-keep}'
25
26     parameters:
27         - project-parameter:
28             project: '{project}'
29         - gerrit-parameter:
30             branch: '{branch}'
31
32     scm:
33         - gerrit-trigger-scm:
34             credentials-id: 'jenkins-gerrit-credentials'
35             refspec: '$GERRIT_REFSPEC'
36             choosing-strategy: 'gerrit'
37
38     wrappers:
39         - fdio-infra-wrappers:
40             build-timeout: '{build-timeout}'
41
42     triggers:
43         - gerrit-trigger-patch-submitted:
44             name: '{project}'
45             branch: '{branch}'
46
47     builders:
48         # This is where we will need to insert a step with a script that pulls all the
49         # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
50         # See jjb/integration from ODL
51         - shell:
52             !include-raw-escape: include-raw-csit-pylint.sh
53
54     publishers:
55         - archive-artifacts:
56             artifacts: 'pylint.log'
57             latest-only: false
58         - violations:
59             pylint:
60                 min: 10
61                 max: 250
62                 unstable: 250
63                 pattern: 'pylint.log'
64         - fdio-infra-shiplogs:
65             maven-version: 'mvn33-new'