Merge "Convert tldk to be Packer compliant"
[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: ubuntu1604-basebuild-4c-4g
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: 'jenkins-gerrit-credentials'
39             refspec: '$GERRIT_REFSPEC'
40             choosing-strategy: 'gerrit'
41
42     wrappers:
43         - fdio-infra-wrappers:
44             build-timeout: '{build-timeout}'
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'
61             latest-only: false
62         - violations:
63             pylint:
64                 min: 10
65                 max: 250
66                 unstable: 250
67                 pattern: 'pylint.log'