Merge "Modify logs publisher"
[ci-management.git] / jjb / csit / csit-tox.yaml
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       - '1908_1':
18           branch: 'rls1908_1'
19
20 - job-template:
21     name: 'csit-verify-tox-{stream}'
22
23     project-type: freestyle
24     node: ubuntu1804-us
25     concurrent: true
26     archive-artifacts: '*.log'
27     latest-only: false
28
29
30     build-discarder:
31       daysToKeep: '{build-days-to-keep}'
32       numToKeep: '{build-num-to-keep}'
33       artifactDaysToKeep: '{build-artifact-days-to-keep}'
34       artifactNumToKeep: '{build-artifact-num-to-keep}'
35
36     parameters:
37       - project-parameter:
38           project: '{project}'
39       - gerrit-parameter:
40           branch: '{branch}'
41       - gerrit-refspec-parameter
42       - string:
43           name: ARCHIVE_ARTIFACTS
44           default: '{archive-artifacts}'
45           description: Artifacts to archive to the logs server.
46
47     scm:
48       - gerrit-trigger-scm:
49           credentials-id: 'jenkins-gerrit-credentials'
50           refspec: '$GERRIT_REFSPEC'
51           choosing-strategy: 'gerrit'
52
53     wrappers:
54       - fdio-infra-wrappers:
55           build-timeout: '{build-timeout}'
56
57     triggers:
58       - gerrit-trigger-patch-submitted:
59           name: '{project}'
60           branch: '{branch}'
61
62     builders:
63       - shell:
64           ./resources/libraries/bash/entry/tox.sh
65
66     publishers:
67       # TODO: Remove this when a voting pylint difference checker
68       # with nice enough output is implemented.
69       - violations:
70           pylint:
71             min: 10
72             max: 250
73             unstable: 250
74             pattern: 'pylint.log'
75       - fdio-infra-shiplogs:
76           maven-version: 'mvn33-new'