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}'
13 # stream: branch with - in place of / (eg. stable-helium)
14 # branch: branch (eg. stable/helium)
19 branch: 'stable/helium'
22 # For the Job templates below replace instances of:
23 # PROJECT with your project name (eg. controller)
24 # MAVEN_GOALS with your maven goals to build
25 # MAVEN_OPTS with your maven options to build
28 name: 'PROJECT-verify-{stream}'
30 # Job template for ODL verify jobs
32 # The purpose of this job template is to setup a ODL verify job
35 # stream: branch with - in place of / (eg. stable-helium)
36 # 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'
60 - ssh-agent-credentials:
61 user: '{ssh-credentials}'
64 - gerrit-trigger-patch-submitted:
72 maven-opts: 'MAVEN_OPTS'
73 settings: '{PROJECT-settings}'
74 global-settings: '{odl-global-settings}'
75 ignore-upstream-changes: false
79 email-prefix: '[PROJECT]'
82 name: 'PROJECT-merge-{stream}'
84 # Job template for ODL merge jobs
86 # The purpose of this job template is to setup a ODL merge job
87 # and deploy artifacts to Nexus.
90 # stream: branch with - in place of / (eg. stable-helium)
91 # branch: branch (eg. stable/helium)
97 daysToKeep: '{build-days-to-keep}'
98 numToKeep: '{build-num-to-keep}'
99 artifactDaysToKeep: '{build-artifact-days-to-keep}'
100 artifactNumToKeep: '{build-artifact-num-to-keep}'
107 - gerrit-trigger-scm:
108 credentials-id: '{ssh-credentials}'
110 choosing-strategy: 'default'
113 - ssh-agent-credentials:
114 user: '{ssh-credentials}'
117 - gerrit-trigger-patch-merged:
122 maven-name: '{mvn32}'
125 maven-opts: 'MAVEN_OPTS'
126 settings: '{PROJECT-settings}'
127 global-settings: '{odl-global-settings}'
130 - email-notification:
131 email-prefix: '[PROJECT]'
135 deploy-unstable: false
138 name: 'PROJECT-daily-{stream}'
140 # Job template for daily builders
142 # The purpose of this job template is to setup a daily/nightly
143 # builder and pushes to Sonar analysis.
145 # Required Variables:
146 # stream: branch with - in place of / (eg. stable-helium)
147 # branch: branch (eg. stable/helium)
153 daysToKeep: '{build-days-to-keep}'
154 numToKeep: '{build-num-to-keep}'
155 artifactDaysToKeep: '{build-artifact-days-to-keep}'
156 artifactNumToKeep: '{build-artifact-num-to-keep}'
164 credentials-id: '{ssh-credentials}'
169 - ssh-agent-credentials:
170 user: '{ssh-credentials}'
176 maven-name: '{mvn32}'
179 maven-opts: 'MAVEN_OPTS'
180 settings: '{PROJECT-settings}'
181 global-settings: '{odl-global-settings}'
184 - email-notification:
185 email-prefix: '[PROJECT]'
189 maven-opts: 'MAVEN_OPTS'