Merge "Configure CSIT Jenkins view"
[ci-management.git] / jjb / csit / csit-vpp-pylint.yaml
1 ---
2 - project:
3     name: csit-validate
4
5     jobs:
6       - 'csit-validate-pylint-{stream}'
7
8     project: 'csit'
9     branch: 'master'
10     stream:
11       - master:
12           branch: 'master'
13       - '1901':
14           branch: 'rls1901'
15
16 - job-template:
17     name: 'csit-validate-pylint-{stream}'
18
19     project-type: freestyle
20     node: ubuntu1604-basebuild-4c-4g
21     concurrent: true
22
23     build-discarder:
24       daysToKeep: '{build-days-to-keep}'
25       numToKeep: '{build-num-to-keep}'
26       artifactDaysToKeep: '{build-artifact-days-to-keep}'
27       artifactNumToKeep: '{build-artifact-num-to-keep}'
28
29     parameters:
30       - project-parameter:
31           project: '{project}'
32       - gerrit-parameter:
33           branch: '{branch}'
34
35     scm:
36       - gerrit-trigger-scm:
37           credentials-id: 'jenkins-gerrit-credentials'
38           refspec: '$GERRIT_REFSPEC'
39           choosing-strategy: 'gerrit'
40
41     wrappers:
42       - fdio-infra-wrappers:
43           build-timeout: '{build-timeout}'
44
45     triggers:
46       - gerrit-trigger-patch-submitted:
47           name: '{project}'
48           branch: '{branch}'
49
50     builders:
51       # yamllint disable-line rule:line-length
52       # This is where we will need to insert a step with a script that pulls all the
53       # yamllint disable-line rule:line-length
54       # allocated IP addresses and injecting as vars into the env. (see Opendaylight script: include-raw-integration-get-slave-addresses.sh
55       # yamllint enable rule:line-length
56       # See jjb/integration from ODL
57       - shell:
58           !include-raw-escape: include-raw-csit-pylint.sh
59
60     publishers:
61       - archive-artifacts:
62           artifacts: 'pylint.log'
63           latest-only: false
64       - violations:
65           pylint:
66             min: 10
67             max: 250
68             unstable: 250
69             pattern: 'pylint.log'
70       - fdio-infra-shiplogs:
71           maven-version: 'mvn33-new'