Fix TREX linting
[ci-management.git] / jjb / trex / trex.yaml
1 ---
2 - project:
3     name: trex
4     jobs:
5       - 'trex-verify-{stream}-{os}'
6       - 'trex-merge-{stream}-{os}'
7
8     project: 'trex'
9     os:
10       - ubuntu1404
11       - ubuntu1604
12       - centos7
13
14     stream:
15       - master:
16           branch: 'master'
17
18 - job-template:
19     name: 'trex-verify-{stream}-{os}'
20
21     project-type: freestyle
22     node: '{os}-basebuild-4c-4g'
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       - os-parameter:
37           os: '{os}'
38
39     scm:
40       - gerrit-trigger-scm:
41           credentials-id: 'jenkins-gerrit-credentials'
42           refspec: '$GERRIT_REFSPEC'
43           choosing-strategy: 'gerrit'
44
45     wrappers:
46       - fdio-infra-wrappers:
47           build-timeout: '{build-timeout}'
48
49     triggers:
50       - gerrit-trigger-patch-submitted:
51           name: '{project}'
52           branch: '{branch}'
53
54     builders:
55       - shell:
56           !include-raw-escape: include-raw-trex-build.sh
57
58     publishers:
59       - fdio-infra-shiplogs:
60           maven-version: 'mvn33-new'
61
62 - job-template:
63     name: 'trex-merge-{stream}-{os}'
64
65     project-type: freestyle
66     node: '{os}-basebuild-4c-4g'
67     concurrent: true
68
69     build-discarder:
70       daysToKeep: '{build-days-to-keep}'
71       numToKeep: '{build-num-to-keep}'
72       artifactDaysToKeep: '{build-artifact-days-to-keep}'
73       artifactNumToKeep: '{build-artifact-num-to-keep}'
74
75     parameters:
76       - project-parameter:
77           project: '{project}'
78       - gerrit-parameter:
79           branch: '{branch}'
80       - os-parameter:
81           os: '{os}'
82
83     scm:
84       - gerrit-trigger-scm:
85           credentials-id: 'jenkins-gerrit-credentials'
86           refspec: '$GERRIT_REFSPEC'
87           choosing-strategy: 'gerrit'
88
89     wrappers:
90       - fdio-infra-wrappers:
91           build-timeout: '{build-timeout}'
92
93     triggers:
94       - gerrit-trigger-patch-merged:
95           name: '{project}'
96           branch: '{branch}'
97
98     builders:
99       - shell:
100           !include-raw-escape: include-raw-trex-build.sh
101
102     publishers:
103       - fdio-infra-shiplogs:
104           maven-version: 'mvn33-new'