1 # ODL Releng build templates
5 - 'topoprocessing-verify-{stream}'
6 - 'topoprocessing-merge-{stream}'
7 - 'topoprocessing-daily-{stream}'
8 - 'topoprocessing-integration-{stream}'
10 # stream: branch with - in place of / (eg. stable-helium)
11 # branch: branch (eg. stable/helium)
16 branch: 'stable/helium'
18 project: 'topoprocessing'
21 # For the Job templates below replace instances of:
22 # PROJECT with your project name (eg. controller)
23 # MAVEN_GOALS with your maven goals to build
24 # MAVEN_OPTS with your maven options to build
27 name: 'topoprocessing-verify-{stream}'
29 # Job template for ODL verify jobs
31 # The purpose of this job template is to setup a ODL verify job
34 # stream: branch with - in place of / (eg. stable-helium)
35 # 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:
66 name: 'topoprocessing'
72 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
73 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
74 settings: '{topoprocessing-settings}'
75 global-settings: '{odl-global-settings}'
76 ignore-upstream-changes: true
80 email-prefix: '[topoprocessing]'
83 name: 'topoprocessing-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:
121 name: 'topoprocessing'
125 maven-name: '{mvn32}'
127 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
128 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
129 settings: '{topoprocessing-settings}'
130 global-settings: '{odl-global-settings}'
133 - email-notification:
134 email-prefix: '[topoprocessing]'
138 deploy-unstable: false
141 name: 'topoprocessing-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}'
183 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
184 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
185 settings: '{topoprocessing-settings}'
186 global-settings: '{odl-global-settings}'
189 - email-notification:
190 email-prefix: '[topoprocessing]'
194 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
197 name: 'topoprocessing-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}'
236 jobs: 'controller-merge-{stream},yangtools-merge-{stream}'
240 maven-name: '{mvn32}'
242 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
243 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
244 settings: '{topoprocessing-settings}'
245 global-settings: '{odl-global-settings}'
248 - email-notification:
249 email-prefix: '[topoprocessing] [controller] [yangtools]'