1 # ODL Releng build templates
5 - 'yangtools-merge-{stream}'
6 - 'yangtools-daily-{stream}'
7 - 'yangtools-integration-{stream}'
10 # stream: branch with - in place of / (eg. stable-helium)
11 # branch: branch (eg. stable/helium)
16 branch: 'stable/helium'
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: 'yangtools-merge-{stream}'
29 # Job template for ODL merge jobs
31 # The purpose of this job template is to setup a ODL merge job
32 # and deploy artifacts to Nexus.
35 # stream: branch with - in place of / (eg. stable-helium)
36 # branch: branch (eg. stable/helium)
43 daysToKeep: '{build-days-to-keep}'
44 numToKeep: '{build-num-to-keep}'
45 artifactDaysToKeep: '{build-artifact-days-to-keep}'
46 artifactNumToKeep: '{build-artifact-num-to-keep}'
54 credentials-id: '{ssh-credentials}'
56 choosing-strategy: 'default'
60 - ssh-agent-credentials:
61 user: '{ssh-credentials}'
64 - gerrit-trigger-patch-merged:
71 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
72 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
73 settings: '{yangtools-settings}'
74 global-settings: '{odl-global-settings}'
78 email-prefix: '[yangtools]'
82 deploy-unstable: false
85 name: 'yangtools-daily-{stream}'
87 # Job template for daily builders
89 # The purpose of this job template is to setup a daily/nightly
90 # builder and pushes to Sonar analysis.
93 # stream: branch with - in place of / (eg. stable-helium)
94 # branch: branch (eg. stable/helium)
101 daysToKeep: '{build-days-to-keep}'
102 numToKeep: '{build-num-to-keep}'
103 artifactDaysToKeep: '{build-artifact-days-to-keep}'
104 artifactNumToKeep: '{build-artifact-num-to-keep}'
112 credentials-id: '{ssh-credentials}'
118 - ssh-agent-credentials:
119 user: '{ssh-credentials}'
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: '{yangtools-settings}'
130 global-settings: '{odl-global-settings}'
133 - email-notification:
134 email-prefix: '[yangtools]'
137 name: 'yangtools-integration-{stream}'
140 # Job template for ODL merge jobs
142 # The purpose of this job template is to setup a ODL merge job
143 # and deploy artifacts to Nexus.
145 # Required Variables:
146 # stream: branch with - in place of / (eg. stable-helium)
147 # branch: branch (eg. stable/helium)
154 daysToKeep: '{build-days-to-keep}'
155 numToKeep: '{build-num-to-keep}'
156 artifactDaysToKeep: '{build-artifact-days-to-keep}'
157 artifactNumToKeep: '{build-artifact-num-to-keep}'
165 credentials-id: '{ssh-credentials}'
171 - ssh-agent-credentials:
172 user: '{ssh-credentials}'
180 maven-name: '{mvn32}'
182 goals: 'clean install -V -Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo '
183 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
184 settings: '{yangtools-settings}'
185 global-settings: '{odl-global-settings}'
188 - email-notification:
189 email-prefix: '[yangtools]'
193 deploy-unstable: false
196 name: 'yangtools-sonar'
205 artifactDaysToKeep: '1'
206 artifactNumToKeep: '1'
214 credentials-id: '{ssh-credentials}'
220 - ssh-agent-credentials:
221 user: '{ssh-credentials}'
227 maven-name: '{mvn32}'
230 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
231 settings: '{yangtools-settings}'
232 global-settings: '{odl-global-settings}'
237 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
238 - email-notification:
239 email-prefix: '[yangtools]'