Merge "refactor git-url to parameter with default value"
[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     logrotate:
50         daysToKeep: '{build-days-to-keep}'
51         numToKeep: '{build-num-to-keep}'
52         artifactDaysToKeep: '{build-artifact-days-to-keep}'
53         artifactNumToKeep: '{build-artifact-num-to-keep}'
54
55     parameters:
56         - opendaylight-infra-parameters:
57             project: '{project}'
58             branch: '{branch}'
59             refspec: 'refs/heads/{branch}'
60             artifacts: '{archive-artifacts}'
61
62     scm:
63         - gerrit-trigger-scm:
64             refspec: '$GERRIT_REFSPEC'
65             choosing-strategy: 'gerrit'
66
67     wrappers:
68         - opendaylight-infra-wrappers:
69             build-timeout: '{build-timeout}'
70
71     triggers:
72         - gerrit-trigger-patch-submitted:
73             server: '{server-name}'
74             project: '{project}'
75             branch: '{branch}'
76             files: '**'
77
78     builders:
79         - opflex-build:
80             mvn33: 'mvn33'
81             stream: '{stream}'
82
83     publishers:
84         - email-notification:
85             email-recipients: '{email-recipients}'
86             email-prefix: '[opflex]'
87         - opendaylight-infra-shiplogs:
88             maven-version: 'mvn33'
89
90 - job-template:
91     name: 'opflex-merge-{stream}'
92
93     node: centos7-java-builder-2c-8g
94     jdk: '{jdk}'
95
96     logrotate:
97         daysToKeep: '{build-days-to-keep}'
98         numToKeep: '{build-num-to-keep}'
99         artifactDaysToKeep: '{build-artifact-days-to-keep}'
100         artifactNumToKeep: '{build-artifact-num-to-keep}'
101
102     parameters:
103         - opendaylight-infra-parameters:
104             project: '{project}'
105             branch: '{branch}'
106             refspec: 'refs/heads/{branch}'
107             artifacts: '{archive-artifacts}'
108
109     scm:
110         - gerrit-trigger-scm:
111             refspec: ''
112             choosing-strategy: 'default'
113
114     wrappers:
115         - opendaylight-infra-wrappers:
116             build-timeout: '{build-timeout}'
117
118     triggers:
119         - gerrit-trigger-patch-merged:
120             server-name: '{server-name}'
121             name: 'opflex'
122             branch: '{branch}'
123
124     builders:
125         - opflex-build:
126             mvn33: 'mvn33'
127             stream: '{stream}'
128
129     publishers:
130         - email-notification:
131             email-recipients: '{email-recipients}'
132             email-prefix: '[opflex]'
133         - opendaylight-infra-shiplogs:
134             maven-version: 'mvn33'