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'
64 - ssh-agent-credentials:
65 user: '{ssh-credentials}'
68 - gerrit-trigger-patch-submitted:
69 name: 'openflowplugin'
75 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
76 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
77 settings: '{openflowplugin-settings}'
78 global-settings: '{odl-global-settings}'
79 ignore-upstream-changes: true
83 email-prefix: '[openflowplugin]'
86 name: 'openflowplugin-merge-{stream}'
88 # Job template for ODL merge jobs
90 # The purpose of this job template is to setup a ODL merge job
91 # and deploy artifacts to Nexus.
94 # stream: branch with - in place of / (eg. stable-helium)
95 # branch: branch (eg. stable/helium)
102 daysToKeep: '{build-days-to-keep}'
103 numToKeep: '{build-num-to-keep}'
104 artifactDaysToKeep: '{build-artifact-days-to-keep}'
105 artifactNumToKeep: '{build-artifact-num-to-keep}'
112 - gerrit-trigger-scm:
113 credentials-id: '{ssh-credentials}'
115 choosing-strategy: 'default'
118 - ssh-agent-credentials:
119 user: '{ssh-credentials}'
122 - gerrit-trigger-patch-merged:
123 name: 'openflowplugin'
127 maven-name: '{mvn32}'
129 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
130 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
131 settings: '{openflowplugin-settings}'
132 global-settings: '{odl-global-settings}'
135 - email-notification:
136 email-prefix: '[openflowplugin]'
140 deploy-unstable: false
143 name: 'openflowplugin-daily-{stream}'
145 # Job template for daily builders
147 # The purpose of this job template is to setup a daily/nightly
148 # builder and pushes to Sonar analysis.
150 # Required Variables:
151 # stream: branch with - in place of / (eg. stable-helium)
152 # branch: branch (eg. stable/helium)
159 daysToKeep: '{build-days-to-keep}'
160 numToKeep: '{build-num-to-keep}'
161 artifactDaysToKeep: '{build-artifact-days-to-keep}'
162 artifactNumToKeep: '{build-artifact-num-to-keep}'
170 credentials-id: '{ssh-credentials}'
175 - ssh-agent-credentials:
176 user: '{ssh-credentials}'
182 maven-name: '{mvn32}'
184 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
185 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
186 settings: '{openflowplugin-settings}'
187 global-settings: '{odl-global-settings}'
190 - email-notification:
191 email-prefix: '[openflowplugin]'
195 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
198 name: 'openflowplugin-integration-{stream}'
201 # Job template for ODL merge jobs
203 # The purpose of this job template is to setup a ODL merge job
204 # and deploy artifacts to Nexus.
206 # Required Variables:
207 # stream: branch with - in place of / (eg. stable-helium)
208 # branch: branch (eg. stable/helium)
215 daysToKeep: '{build-days-to-keep}'
216 numToKeep: '{build-num-to-keep}'
217 artifactDaysToKeep: '{build-artifact-days-to-keep}'
218 artifactNumToKeep: '{build-artifact-num-to-keep}'
225 - gerrit-trigger-scm:
226 credentials-id: '{ssh-credentials}'
228 choosing-strategy: 'default'
231 - ssh-agent-credentials:
232 user: '{ssh-credentials}'
236 jobs: 'yangtools-merge,controller-merge,openflowjava-merge'
240 maven-name: '{mvn32}'
242 goals: '-Dmaven.repo.local=$WORKSPACE/.m2repo -Dorg.ops4j.pax.url.mvn.localRepository=$WORKSPACE/.m2repo clean install javadoc:aggregate'
243 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
244 settings: '{openflowplugin-settings}'
245 global-settings: '{odl-global-settings}'
248 - email-notification:
249 email-prefix: '[openflowplugin] [yangtools] [controller] [openflowjava]'