Switch logrotate->build-discarder for all projects
[releng/builder.git] / jjb / opflex / opflex-custom.yaml
1 - project:
2     name: opflex
3     jobs:
4         - 'opflex-verify-{stream}'
5         - 'opflex-merge-{stream}'
6
7     stream:
8         - carbon:
9             branch: 'master'
10             jdk: openjdk8
11         - boron:
12             branch: 'stable/boron'
13             jdk: openjdk8
14         - beryllium:
15             branch: 'stable/beryllium'
16             jdk: openjdk8
17
18     project: 'opflex'
19     archive-artifacts: '**/*.tar.gz'
20
21 - builder:
22     name: opflex-build
23     builders:
24       - maven-target:
25           maven-version: 'mvn33'
26           pom: genie/pom.xml
27           goals: compile
28       - copyartifact:
29           project: opflex-libuv_tgz-{stream}
30           flatten: true
31       - copyartifact:
32           project: opflex-rapidjson_tgz-{stream}
33           flatten: true
34       - copyartifact:
35           project: opflex-openvswitch_tgz-{stream}
36           flatten: true
37       - shell:
38           !include-raw-escape:
39             - include-raw-opflex-build.sh
40
41 - job-template:
42     name: 'opflex-verify-{stream}'
43
44     project-type: freestyle
45     node: centos7-java-builder-2c-8g
46     concurrent: true
47     jdk: '{jdk}'
48
49     properties:
50         - opendaylight-infra-properties:
51             build-days-to-keep: '{build-days-to-keep}'
52
53     parameters:
54         - opendaylight-infra-parameters:
55             project: '{project}'
56             branch: '{branch}'
57             refspec: 'refs/heads/{branch}'
58             artifacts: '{archive-artifacts}'
59
60     scm:
61         - gerrit-trigger-scm:
62             refspec: '$GERRIT_REFSPEC'
63             choosing-strategy: 'gerrit'
64
65     wrappers:
66         - opendaylight-infra-wrappers:
67             build-timeout: '{build-timeout}'
68
69     triggers:
70         - gerrit-trigger-patch-submitted:
71             server: '{server-name}'
72             project: '{project}'
73             branch: '{branch}'
74             files: '**'
75
76     builders:
77         - opflex-build:
78             mvn33: 'mvn33'
79             stream: '{stream}'
80
81     publishers:
82         - email-notification:
83             email-recipients: '{email-recipients}'
84             email-prefix: '[opflex]'
85         - opendaylight-infra-shiplogs:
86             maven-version: 'mvn33'
87
88 - job-template:
89     name: 'opflex-merge-{stream}'
90
91     node: centos7-java-builder-2c-8g
92     jdk: '{jdk}'
93
94     properties:
95         - opendaylight-infra-properties:
96             build-days-to-keep: '{build-days-to-keep}'
97
98     parameters:
99         - opendaylight-infra-parameters:
100             project: '{project}'
101             branch: '{branch}'
102             refspec: 'refs/heads/{branch}'
103             artifacts: '{archive-artifacts}'
104
105     scm:
106         - gerrit-trigger-scm:
107             refspec: ''
108             choosing-strategy: 'default'
109
110     wrappers:
111         - opendaylight-infra-wrappers:
112             build-timeout: '{build-timeout}'
113
114     triggers:
115         - gerrit-trigger-patch-merged:
116             server-name: '{server-name}'
117             name: 'opflex'
118             branch: '{branch}'
119
120     builders:
121         - opflex-build:
122             mvn33: 'mvn33'
123             stream: '{stream}'
124
125     publishers:
126         - email-notification:
127             email-recipients: '{email-recipients}'
128             email-prefix: '[opflex]'
129         - opendaylight-infra-shiplogs:
130             maven-version: 'mvn33'