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