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)
37 daysToKeep: '{build-days-to-keep}'
38 numToKeep: '{build-num-to-keep}'
39 artifactDaysToKeep: '{build-artifact-days-to-keep}'
40 artifactNumToKeep: '{build-artifact-num-to-keep}'
48 credentials-id: '{ssh-credentials}'
49 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
50 refspec: '$GERRIT_REFSPEC'
53 - ssh-agent-credentials:
54 user: '{ssh-credentials}'
57 - gerrit-trigger-patch-submitted:
65 maven-opts: 'MAVEN_OPTS'
66 settings: '{PROJECT-settings}'
67 global-settings: '{odl-global-settings}'
71 email-prefix: '[PROJECT]'
74 name: 'PROJECT-merge-{stream}'
76 # Job template for ODL merge jobs
78 # The purpose of this job template is to setup a ODL merge job
79 # and deploy artifacts to Nexus.
82 # stream: branch with - in place of / (eg. stable-helium)
83 # branch: branch (eg. stable/helium)
88 daysToKeep: '{build-days-to-keep}'
89 numToKeep: '{build-num-to-keep}'
90 artifactDaysToKeep: '{build-artifact-days-to-keep}'
91 artifactNumToKeep: '{build-artifact-num-to-keep}'
95 credentials-id: '{ssh-credentials}'
96 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
100 - ssh-agent-credentials:
101 user: '{ssh-credentials}'
104 - gerrit-trigger-patch-merged:
109 maven-name: '{mvn30}'
112 maven-opts: 'MAVEN_OPTS'
113 settings: '{PROJECT-settings}'
114 global-settings: '{odl-global-settings}'
117 - email-notification:
118 email-prefix: '[PROJECT]'
123 deploy-unstable: false
126 name: 'PROJECT-daily-{stream}'
128 # Job template for daily builders
130 # The purpose of this job template is to setup a daily/nightly
131 # builder and pushes to Sonar analysis.
133 # Required Variables:
134 # stream: branch with - in place of / (eg. stable-helium)
135 # branch: branch (eg. stable/helium)
140 daysToKeep: '{build-days-to-keep}'
141 numToKeep: '{build-num-to-keep}'
142 artifactDaysToKeep: '{build-artifact-days-to-keep}'
143 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 credentials-id: '{ssh-credentials}'
148 scm-url: 'ssh://jenkins-releng@git.opendaylight.org:29418/PROJECT.git'
153 - ssh-agent-credentials:
154 user: '{ssh-credentials}'
160 maven-name: '{mvn30}'
163 maven-opts: 'MAVEN_OPTS'
164 settings: '{PROJECT-settings}'
165 global-settings: '{odl-global-settings}'
168 - email-notification:
169 email-prefix: '[PROJECT]'
171 branch: 'origin/{branch}'
173 maven-opts: 'MAVEN_OPTS'