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