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