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 - 'openflowplugin-verify-{stream}'
10 - 'openflowplugin-merge-{stream}'
11 - 'openflowplugin-daily-{stream}'
12 - 'openflowplugin-integration-{stream}'
14 # stream: branch with - in place of / (eg. stable-helium)
15 # branch: branch (eg. stable/helium)
20 branch: 'stable/helium'
22 project: 'openflowplugin'
25 # For the Job templates below replace instances of:
26 # PROJECT with your project name (eg. controller)
27 # MAVEN_GOALS with your maven goals to build
28 # MAVEN_OPTS with your maven options to build
31 name: 'openflowplugin-verify-{stream}'
33 # Job template for ODL verify jobs
35 # The purpose of this job template is to setup a ODL verify job
38 # stream: branch with - in place of / (eg. stable-helium)
39 # branch: branch (eg. stable/helium)
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
59 credentials-id: '{ssh-credentials}'
60 refspec: '$GERRIT_REFSPEC'
61 choosing-strategy: 'gerrit'
65 - ssh-agent-credentials:
66 user: '{ssh-credentials}'
69 - gerrit-trigger-patch-submitted:
70 name: 'openflowplugin'
76 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
77 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
78 settings: '{openflowplugin-settings}'
79 global-settings: '{odl-global-settings}'
80 ignore-upstream-changes: true
84 email-prefix: '[openflowplugin]'
87 name: 'openflowplugin-merge-{stream}'
89 # Job template for ODL merge jobs
91 # The purpose of this job template is to setup a ODL merge job
92 # and deploy artifacts to Nexus.
95 # stream: branch with - in place of / (eg. stable-helium)
96 # branch: branch (eg. stable/helium)
103 daysToKeep: '{build-days-to-keep}'
104 numToKeep: '{build-num-to-keep}'
105 artifactDaysToKeep: '{build-artifact-days-to-keep}'
106 artifactNumToKeep: '{build-artifact-num-to-keep}'
113 - gerrit-trigger-scm:
114 credentials-id: '{ssh-credentials}'
116 choosing-strategy: 'default'
120 - ssh-agent-credentials:
121 user: '{ssh-credentials}'
124 - gerrit-trigger-patch-merged:
125 name: 'openflowplugin'
129 maven-name: '{mvn32}'
131 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
132 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
133 settings: '{openflowplugin-settings}'
134 global-settings: '{odl-global-settings}'
137 - email-notification:
138 email-prefix: '[openflowplugin]'
142 deploy-unstable: false
145 name: 'openflowplugin-daily-{stream}'
147 # Job template for daily builders
149 # The purpose of this job template is to setup a daily/nightly
150 # builder and pushes to Sonar analysis.
152 # Required Variables:
153 # stream: branch with - in place of / (eg. stable-helium)
154 # branch: branch (eg. stable/helium)
161 daysToKeep: '{build-days-to-keep}'
162 numToKeep: '{build-num-to-keep}'
163 artifactDaysToKeep: '{build-artifact-days-to-keep}'
164 artifactNumToKeep: '{build-artifact-num-to-keep}'
172 credentials-id: '{ssh-credentials}'
178 - ssh-agent-credentials:
179 user: '{ssh-credentials}'
185 maven-name: '{mvn32}'
187 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
188 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
189 settings: '{openflowplugin-settings}'
190 global-settings: '{odl-global-settings}'
193 - email-notification:
194 email-prefix: '[openflowplugin]'
198 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
201 name: 'openflowplugin-integration-{stream}'
204 # Job template for ODL merge jobs
206 # The purpose of this job template is to setup a ODL merge job
207 # and deploy artifacts to Nexus.
209 # Required Variables:
210 # stream: branch with - in place of / (eg. stable-helium)
211 # branch: branch (eg. stable/helium)
218 daysToKeep: '{build-days-to-keep}'
219 numToKeep: '{build-num-to-keep}'
220 artifactDaysToKeep: '{build-artifact-days-to-keep}'
221 artifactNumToKeep: '{build-artifact-num-to-keep}'
229 credentials-id: '{ssh-credentials}'
235 - ssh-agent-credentials:
236 user: '{ssh-credentials}'
240 jobs: 'yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
244 maven-name: '{mvn32}'
246 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
247 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
248 settings: '{openflowplugin-settings}'
249 global-settings: '{odl-global-settings}'
252 - email-notification:
253 email-prefix: '[openflowplugin] [yangtools] [controller] [openflowjava]'