Modify logs publisher
[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 - project:
19     name: trex-view
20     views:
21       - project-view
22     project-name: trex
23
24 - job-template:
25     name: 'trex-verify-{stream}-{os}'
26
27     project-type: freestyle
28     node: '{os}-builder-4c-4g'
29     concurrent: true
30
31     build-discarder:
32       daysToKeep: '{build-days-to-keep}'
33       numToKeep: '{build-num-to-keep}'
34       artifactDaysToKeep: '{build-artifact-days-to-keep}'
35       artifactNumToKeep: '{build-artifact-num-to-keep}'
36
37     parameters:
38       - project-parameter:
39           project: '{project}'
40       - gerrit-parameter:
41           branch: '{branch}'
42       - os-parameter:
43           os: '{os}'
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           !include-raw-escape: include-raw-trex-build.sh
63
64     publishers:
65       - lf-infra-publish
66
67 - job-template:
68     name: 'trex-merge-{stream}-{os}'
69
70     project-type: freestyle
71     node: '{os}-builder-4c-4g'
72     concurrent: true
73
74     build-discarder:
75       daysToKeep: '{build-days-to-keep}'
76       numToKeep: '{build-num-to-keep}'
77       artifactDaysToKeep: '{build-artifact-days-to-keep}'
78       artifactNumToKeep: '{build-artifact-num-to-keep}'
79
80     parameters:
81       - project-parameter:
82           project: '{project}'
83       - gerrit-parameter:
84           branch: '{branch}'
85       - os-parameter:
86           os: '{os}'
87
88     scm:
89       - gerrit-trigger-scm:
90           credentials-id: 'jenkins-gerrit-credentials'
91           refspec: '$GERRIT_REFSPEC'
92           choosing-strategy: 'gerrit'
93
94     wrappers:
95       - fdio-infra-wrappers:
96           build-timeout: '{build-timeout}'
97
98     triggers:
99       - gerrit-trigger-patch-merged:
100           name: '{project}'
101           branch: '{branch}'
102
103     builders:
104       - shell:
105           !include-raw-escape: include-raw-trex-build.sh
106
107     publishers:
108       - lf-infra-publish
109
110 - project:
111     name: trex-info
112     project-name: trex
113     jobs:
114       - gerrit-info-yaml-verify
115     build-node: centos7-builder-4c-4g
116     project: trex
117     branch: master