1 # ODL Releng build templates
5 - 'PROJECT-verify-{stream}'
6 - 'PROJECT-merge-{stream}'
7 - 'PROJECT-daily-{stream}'
9 # stream: branch with - in place of / (eg. stable-helium)
10 # branch: branch (eg. stable/helium)
15 branch: 'stable/helium'
18 # For the Job templates below replace instances of:
19 # PROJECT with your project name (eg. controller)
20 # MAVEN_GOALS with your maven goals to build
21 # MAVEN_OPTS with your maven options to build
24 name: 'PROJECT-verify-{stream}'
26 # Job template for ODL verify jobs
28 # The purpose of this job template is to setup a ODL verify job
31 # stream: branch with - in place of / (eg. stable-helium)
32 # branch: branch (eg. stable/helium)
38 daysToKeep: '{build-days-to-keep}'
39 numToKeep: '{build-num-to-keep}'
40 artifactDaysToKeep: '{build-artifact-days-to-keep}'
41 artifactNumToKeep: '{build-artifact-num-to-keep}'
49 credentials-id: '{ssh-credentials}'
50 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
51 refspec: '$GERRIT_REFSPEC'
54 - ssh-agent-credentials:
55 user: '{ssh-credentials}'
58 - gerrit-trigger-patch-submitted:
66 maven-opts: 'MAVEN_OPTS'
67 settings: '{PROJECT-settings}'
68 global-settings: '{odl-global-settings}'
72 email-prefix: '[PROJECT]'
75 name: 'PROJECT-merge-{stream}'
77 # Job template for ODL merge jobs
79 # The purpose of this job template is to setup a ODL merge job
80 # and deploy artifacts to Nexus.
83 # stream: branch with - in place of / (eg. stable-helium)
84 # branch: branch (eg. stable/helium)
90 daysToKeep: '{build-days-to-keep}'
91 numToKeep: '{build-num-to-keep}'
92 artifactDaysToKeep: '{build-artifact-days-to-keep}'
93 artifactNumToKeep: '{build-artifact-num-to-keep}'
97 credentials-id: '{ssh-credentials}'
98 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
102 - ssh-agent-credentials:
103 user: '{ssh-credentials}'
106 - gerrit-trigger-patch-merged:
111 maven-name: '{mvn30}'
114 maven-opts: 'MAVEN_OPTS'
115 settings: '{PROJECT-settings}'
116 global-settings: '{odl-global-settings}'
119 - email-notification:
120 email-prefix: '[PROJECT]'
125 deploy-unstable: false
128 name: 'PROJECT-daily-{stream}'
130 # Job template for daily builders
132 # The purpose of this job template is to setup a daily/nightly
133 # builder and pushes to Sonar analysis.
135 # Required Variables:
136 # stream: branch with - in place of / (eg. stable-helium)
137 # branch: branch (eg. stable/helium)
143 daysToKeep: '{build-days-to-keep}'
144 numToKeep: '{build-num-to-keep}'
145 artifactDaysToKeep: '{build-artifact-days-to-keep}'
146 artifactNumToKeep: '{build-artifact-num-to-keep}'
150 credentials-id: '{ssh-credentials}'
151 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
156 - ssh-agent-credentials:
157 user: '{ssh-credentials}'
163 maven-name: '{mvn30}'
166 maven-opts: 'MAVEN_OPTS'
167 settings: '{PROJECT-settings}'
168 global-settings: '{odl-global-settings}'
171 - email-notification:
172 email-prefix: '[PROJECT]'
174 branch: 'origin/{branch}'
176 maven-opts: 'MAVEN_OPTS'