1 # ODL Releng build templates
4 name: '{name}-verify-{stream}'
6 # Job template for ODL verify jobs
8 # The purpose of this job template is to setup a ODL verify job
11 # name: project name (eg. controller)
12 # stream: branch with - in place of / (eg. stable/helium)
13 # branch: branch (eg. stable/helium)
14 # mvn-goals: Maven Goals parameter to pass to the builder (eg. clean install)
15 # mvn-opts: MAVEN_OPTS paramter to pass to the builder (eg. -Xmx1024m)
18 # build-days-to-keep: Number of days to keep builds
19 # build-num-to-keep: Number of builds to keep
20 # build-artifact-days-to-keep: Number of artifacts from builds to keep
21 # build-artifact-num-to-keep: Number of builds to keep with artifacts
26 daysToKeep: '{build-days-to-keep}'
27 numToKeep: '{build-num-to-keep}'
28 artifactDaysToKeep: '{build-artifact-days-to-keep}'
29 artifactNumToKeep: '{build-artifact-num-to-keep}'
37 credentials-id: '{ssh-credentials}'
39 refspec: '$GERRIT_REFSPEC'
42 - ssh-agent-credentials:
43 user: '{ssh-credentials}'
46 - gerrit-trigger-patch-submitted:
51 maven-name: Maven 3.0.4
54 maven-opts: '{mvn-opts}'
58 email-prefix: '{email-prefix}'
61 name: '{name}-merge-{stream}'
63 # Job template for ODL merge jobs
65 # The purpose of this job template is to setup a ODL merge job
68 # name: project name (eg. controller)
69 # stream: branch with - in place of / (eg. stable/helium)
70 # branch: branch (eg. stable/helium)
71 # mvn-goals: Maven Goals parameter to pass to the builder (eg. clean install)
72 # mvn-opts: MAVEN_OPTS paramter to pass to the builder (eg. -Xmx1024m)
75 # build-days-to-keep: Number of days to keep builds
76 # build-num-to-keep: Number of builds to keep
77 # build-artifact-days-to-keep: Number of artifacts from builds to keep
78 # build-artifact-num-to-keep: Number of builds to keep with artifacts
83 daysToKeep: '{build-days-to-keep}'
84 numToKeep: '{build-num-to-keep}'
85 artifactDaysToKeep: '{build-artifact-days-to-keep}'
86 artifactNumToKeep: '{build-artifact-num-to-keep}'
90 credentials-id: '{ssh-credentials}'
95 - ssh-agent-credentials:
96 user: '{ssh-credentials}'
99 - gerrit-trigger-patch-merged:
104 maven-name: Maven 3.0.4
107 maven-opts: '{mvn-opts}'
110 - email-notification:
111 email-prefix: '{email-prefix}'
116 deploy-unstable: false
119 name: '{name}-daily-{stream}'
121 # Job template for daily builders
123 # The purpose of this job template is to setup a daily/nightly builder and pushes to Sonar analysis.
125 # Required Variables:
126 # name: project name (eg. controller)
127 # stream: branch with - in place of / (eg. stable/helium)
128 # branch: branch (eg. stable/helium)
129 # mvn-goals: Maven Goals parameter to pass to the builder (eg. clean install)
130 # mvn-opts: MAVEN_OPTS paramter to pass to the builder (eg. -Xmx1024m)
132 # Optional Variables:
133 # build-days-to-keep: Number of days to keep builds
134 # build-num-to-keep: Number of builds to keep
135 # build-artifact-days-to-keep: Number of artifacts from builds to keep
136 # build-artifact-num-to-keep: Number of builds to keep with artifacts
141 daysToKeep: '{build-days-to-keep}'
142 numToKeep: '{build-num-to-keep}'
143 artifactDaysToKeep: '{build-artifact-days-to-keep}'
144 artifactNumToKeep: '{build-artifact-num-to-keep}'
148 credentials-id: '{ssh-credentials}'
154 - ssh-agent-credentials:
155 user: '{ssh-credentials}'
161 maven-name: Maven 3.0.4
164 maven-opts: '{mvn-opts}'
167 - email-notification:
168 email-prefix: '{email-prefix}'
170 branch: 'origin/{branch}'
172 maven-opts: '{mvn-opts}'