1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
5 # ODL Releng build templates
9 - 'PROJECT-verify-{stream}'
10 - 'PROJECT-merge-{stream}'
11 - 'PROJECT-daily-{stream}'
12 - 'PROJECT-integration-{stream}'
14 # stream: branch with - in place of / (eg. stable-helium)
15 # branch: branch (eg. stable/helium)
20 # For the Job templates below replace instances of:
21 # PROJECT with your project name (eg. controller)
22 # MAVEN_GOALS with your maven goals to build
23 # MAVEN_OPTS with your maven options to build
26 name: 'PROJECT-verify-{stream}'
28 # Job template for ODL verify jobs
30 # The purpose of this job template is to setup a ODL verify job
33 # stream: branch with - in place of / (eg. stable-helium)
34 # branch: branch (eg. stable/helium)
42 daysToKeep: '{build-days-to-keep}'
43 numToKeep: '{build-num-to-keep}'
44 artifactDaysToKeep: '{build-artifact-days-to-keep}'
45 artifactNumToKeep: '{build-artifact-num-to-keep}'
55 credentials-id: '{ssh-credentials}'
56 refspec: '$GERRIT_REFSPEC'
57 choosing-strategy: 'gerrit'
61 - ssh-agent-credentials:
62 user: '{ssh-credentials}'
65 - gerrit-trigger-patch-submitted:
73 maven-opts: 'MAVEN_OPTS'
74 settings: '{PROJECT-settings}'
75 global-settings: '{odl-global-settings}'
76 ignore-upstream-changes: true
80 email-prefix: '[PROJECT]'
83 name: 'PROJECT-merge-{stream}'
85 # Job template for ODL merge jobs
87 # The purpose of this job template is to setup a ODL merge job
88 # and deploy artifacts to Nexus.
91 # stream: branch with - in place of / (eg. stable-helium)
92 # branch: branch (eg. stable/helium)
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}'
109 - gerrit-trigger-scm:
110 credentials-id: '{ssh-credentials}'
112 choosing-strategy: 'default'
116 - ssh-agent-credentials:
117 user: '{ssh-credentials}'
120 - gerrit-trigger-patch-merged:
125 maven-name: '{mvn32}'
128 maven-opts: 'MAVEN_OPTS'
129 settings: '{PROJECT-settings}'
130 global-settings: '{odl-global-settings}'
133 - email-notification:
134 email-prefix: '[PROJECT]'
138 deploy-unstable: false
141 name: 'PROJECT-daily-{stream}'
143 # Job template for daily builders
145 # The purpose of this job template is to setup a daily/nightly
146 # builder and pushes to Sonar analysis.
148 # Required Variables:
149 # stream: branch with - in place of / (eg. stable-helium)
150 # branch: branch (eg. stable/helium)
157 daysToKeep: '{build-days-to-keep}'
158 numToKeep: '{build-num-to-keep}'
159 artifactDaysToKeep: '{build-artifact-days-to-keep}'
160 artifactNumToKeep: '{build-artifact-num-to-keep}'
168 credentials-id: '{ssh-credentials}'
174 - ssh-agent-credentials:
175 user: '{ssh-credentials}'
181 maven-name: '{mvn32}'
184 maven-opts: 'MAVEN_OPTS'
185 settings: '{PROJECT-settings}'
186 global-settings: '{odl-global-settings}'
189 - email-notification:
190 email-prefix: '[PROJECT]'
194 maven-opts: 'MAVEN_OPTS'
197 name: 'PROJECT-integration-{stream}'
200 # Job template for ODL merge jobs
202 # The purpose of this job template is to setup a ODL merge job
203 # and deploy artifacts to Nexus.
205 # Required Variables:
206 # stream: branch with - in place of / (eg. stable-helium)
207 # branch: branch (eg. stable/helium)
214 daysToKeep: '{build-days-to-keep}'
215 numToKeep: '{build-num-to-keep}'
216 artifactDaysToKeep: '{build-artifact-days-to-keep}'
217 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 credentials-id: '{ssh-credentials}'
231 - ssh-agent-credentials:
232 user: '{ssh-credentials}'
240 maven-name: '{mvn32}'
243 maven-opts: 'MAVEN_OPTS'
244 settings: '{PROJECT-settings}'
245 global-settings: '{odl-global-settings}'
248 - email-notification:
249 email-prefix: 'EMAIL_PREFIX'