csit-tox.yaml revision da11d2e0
1---
2- project:
3    name: csit-validate
4
5    jobs:
6      - 'csit-verify-tox-{stream}'
7
8    project: 'csit'
9    branch: 'master'
10    stream:
11      - master:
12          branch: 'master'
13      - '1901':
14          branch: 'rls1901'
15      - '1904':
16          branch: 'rls1904'
17
18- job-template:
19    name: 'csit-verify-tox-{stream}'
20
21    project-type: freestyle
22    node: ubuntu1804-us
23    concurrent: true
24
25    build-discarder:
26      daysToKeep: '{build-days-to-keep}'
27      numToKeep: '{build-num-to-keep}'
28      artifactDaysToKeep: '{build-artifact-days-to-keep}'
29      artifactNumToKeep: '{build-artifact-num-to-keep}'
30
31    parameters:
32      - project-parameter:
33          project: '{project}'
34      - gerrit-parameter:
35          branch: '{branch}'
36      - gerrit-refspec-parameter
37
38    scm:
39      - gerrit-trigger-scm:
40          credentials-id: 'jenkins-gerrit-credentials'
41          refspec: '$GERRIT_REFSPEC'
42          choosing-strategy: 'gerrit'
43
44    wrappers:
45      - fdio-infra-wrappers:
46          build-timeout: '{build-timeout}'
47
48    triggers:
49      - gerrit-trigger-patch-submitted:
50          name: '{project}'
51          branch: '{branch}'
52
53    builders:
54      - shell:
55          ./resources/libraries/bash/entry/tox.sh
56
57    publishers:
58      - archive-artifacts:
59          artifacts: '*.log'
60          latest-only: false
61      # TODO: Remove this when a voting pylint difference checker
62      # with nice enough output is implemented.
63      - violations:
64          pylint:
65            min: 10
66            max: 250
67            unstable: 250
68            pattern: 'pylint.log'
69      - fdio-infra-shiplogs:
70          maven-version: 'mvn33-new'
71