TopoProcessing - .yaml file updated
[releng/builder.git] / jjb / topoprocessing / topoprocessing.yaml
1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2
3 # Otherwise this file will be automatically overwritten by the template
4
5 # autobuilder.
6
7 # ODL Releng build templates
8 - project:
9     name: topoprocessing
10     jobs:
11         - 'topoprocessing-verify-{stream}'
12         - 'topoprocessing-merge-{stream}'
13         - 'topoprocessing-daily-{stream}'
14         - 'topoprocessing-integration-{stream}'
15
16     # stream:    branch with - in place of / (eg. stable-helium)
17     # branch:    branch (eg. stable/helium)
18     stream:
19         - master:
20             branch: 'master'
21         - stable-helium:
22             branch: 'stable/helium'
23
24     project: 'topoprocessing'
25     jdk: 'openjdk7'
26
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
31
32 - job-template:
33     name: 'topoprocessing-verify-{stream}'
34
35     # Job template for ODL verify jobs
36     #
37     # The purpose of this job template is to setup a ODL verify job
38     #
39     # Required Variables:
40     #     stream:    branch with - in place of / (eg. stable-helium)
41     #     branch:    branch (eg. stable/helium)
42
43     project-type: maven
44     node: dynamic_verify
45     jdk: '{jdk}'
46
47     logrotate:
48         daysToKeep: '{build-days-to-keep}'
49         numToKeep: '{build-num-to-keep}'
50         artifactDaysToKeep: '{build-artifact-days-to-keep}'
51         artifactNumToKeep: '{build-artifact-num-to-keep}'
52
53     parameters:
54         - project-parameter:
55             project: '{project}'
56         - gerrit-parameter:
57             branch: '{branch}'
58
59     scm:
60         - gerrit-trigger-scm:
61             credentials-id: '{ssh-credentials}'
62             refspec: '$GERRIT_REFSPEC'
63             choosing-strategy: 'gerrit'
64
65     wrappers:
66         - build-timeout
67         - ssh-agent-credentials:
68             user: '{ssh-credentials}'
69
70     triggers:
71         - gerrit-trigger-patch-submitted:
72             name: 'topoprocessing'
73             branch: '{branch}'
74
75     maven:
76         maven-name: '{mvn32}'
77         root-pom: 'pom.xml'
78         goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
79         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
80         settings: '{topoprocessing-settings}'
81         global-settings: '{odl-global-settings}'
82         ignore-upstream-changes: true
83
84     publishers:
85         - email-notification:
86             email-prefix: '[topoprocessing]'
87
88 - job-template:
89     name: 'topoprocessing-merge-{stream}'
90
91     # Job template for ODL merge jobs
92     #
93     # The purpose of this job template is to setup a ODL merge job
94     # and deploy artifacts to Nexus.
95     #
96     # Required Variables:
97     #     stream:    branch with - in place of / (eg. stable-helium)
98     #     branch:    branch (eg. stable/helium)
99
100     project-type: maven
101     node: dynamic_merge
102     jdk: '{jdk}'
103
104     logrotate:
105         daysToKeep: '{build-days-to-keep}'
106         numToKeep: '{build-num-to-keep}'
107         artifactDaysToKeep: '{build-artifact-days-to-keep}'
108         artifactNumToKeep: '{build-artifact-num-to-keep}'
109
110     parameters:
111         - project-parameter:
112             project: '{project}'
113
114     scm:
115         - gerrit-trigger-scm:
116             credentials-id: '{ssh-credentials}'
117             refspec: ''
118             choosing-strategy: 'default'
119
120     wrappers:
121         - build-timeout
122         - ssh-agent-credentials:
123             user: '{ssh-credentials}'
124
125     triggers:
126         - gerrit-trigger-patch-merged:
127             name: 'topoprocessing'
128             branch: '{branch}'
129
130     maven:
131         maven-name: '{mvn32}'
132         root-pom: 'pom.xml'
133         goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
134         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
135         settings: '{topoprocessing-settings}'
136         global-settings: '{odl-global-settings}'
137
138     publishers:
139         - email-notification:
140             email-prefix: '[topoprocessing]'
141         - maven-deploy:
142             id: ''
143             unique-version: true
144             deploy-unstable: false
145
146 - job-template:
147     name: 'topoprocessing-daily-{stream}'
148
149     # Job template for daily builders
150     #
151     # The purpose of this job template is to setup a daily/nightly
152     # builder and pushes to Sonar analysis.
153     #
154     # Required Variables:
155     #     stream:    branch with - in place of / (eg. stable-helium)
156     #     branch:    branch (eg. stable/helium)
157
158     project-type: maven
159     node: dynamic_verify
160     jdk: '{jdk}'
161
162     logrotate:
163         daysToKeep: '{build-days-to-keep}'
164         numToKeep: '{build-num-to-keep}'
165         artifactDaysToKeep: '{build-artifact-days-to-keep}'
166         artifactNumToKeep: '{build-artifact-num-to-keep}'
167
168     parameters:
169         - project-parameter:
170             project: '{project}'
171
172     scm:
173         - git-scm:
174             credentials-id: '{ssh-credentials}'
175             refspec: ''
176             branch: '{branch}'
177
178     wrappers:
179         - build-timeout
180         - ssh-agent-credentials:
181             user: '{ssh-credentials}'
182
183     triggers:
184         - timed: 'H H * * *'
185
186     maven:
187         maven-name: '{mvn32}'
188         root-pom: 'pom.xml'
189         goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
190         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
191         settings: '{topoprocessing-settings}'
192         global-settings: '{odl-global-settings}'
193
194     publishers:
195         - email-notification:
196             email-prefix: '[topoprocessing]'
197         - sonar:
198             branch: '{stream}'
199             language: 'java'
200             maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
201
202 - job-template:
203     name: 'topoprocessing-integration-{stream}'
204     disabled: false
205
206     # Job template for ODL merge jobs
207     #
208     # The purpose of this job template is to setup a ODL merge job
209     # and deploy artifacts to Nexus.
210     #
211     # Required Variables:
212     #     stream:    branch with - in place of / (eg. stable-helium)
213     #     branch:    branch (eg. stable/helium)
214
215     project-type: maven
216     node: dynamic_merge
217     jdk: '{jdk}'
218
219     logrotate:
220         daysToKeep: '{build-days-to-keep}'
221         numToKeep: '{build-num-to-keep}'
222         artifactDaysToKeep: '{build-artifact-days-to-keep}'
223         artifactNumToKeep: '{build-artifact-num-to-keep}'
224
225     parameters:
226         - project-parameter:
227             project: '{project}'
228
229     scm:
230         - git-scm:
231             credentials-id: '{ssh-credentials}'
232             refspec: ''
233             branch: '{branch}'
234
235     wrappers:
236         - build-timeout
237         - ssh-agent-credentials:
238             user: '{ssh-credentials}'
239
240     triggers:
241         - reverse:
242             jobs: 'controller-merge-{stream},yangtools-merge-{stream}'
243             result: 'success'
244
245     maven:
246         maven-name: '{mvn32}'
247         root-pom: 'pom.xml'
248         goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
249         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
250         settings: '{topoprocessing-settings}'
251         global-settings: '{odl-global-settings}'
252
253     publishers:
254         - email-notification:
255             email-prefix: '[topoprocessing] [controller] [yangtools]'