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: 'origin/$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}'
60 name: '{name}-merge-{stream}'
62 # Job template for ODL merge jobs
64 # The purpose of this job template is to setup a ODL merge job
67 # name: project name (eg. controller)
68 # stream: branch with - in place of / (eg. stable/helium)
69 # branch: branch (eg. stable/helium)
70 # mvn-goals: Maven Goals parameter to pass to the builder (eg. clean install)
71 # mvn-opts: MAVEN_OPTS paramter to pass to the builder (eg. -Xmx1024m)
74 # build-days-to-keep: Number of days to keep builds
75 # build-num-to-keep: Number of builds to keep
76 # build-artifact-days-to-keep: Number of artifacts from builds to keep
77 # build-artifact-num-to-keep: Number of builds to keep with artifacts
82 daysToKeep: '{build-days-to-keep}'
83 numToKeep: '{build-num-to-keep}'
84 artifactDaysToKeep: '{build-artifact-days-to-keep}'
85 artifactNumToKeep: '{build-artifact-num-to-keep}'
89 credentials-id: '{ssh-credentials}'
94 - ssh-agent-credentials:
95 user: '{ssh-credentials}'
98 - gerrit-trigger-patch-merged:
103 maven-name: Maven 3.0.4
106 maven-opts: '{mvn-opts}'
114 deploy-unstable: false
117 name: '{name}-daily-{stream}'
119 # Job template for daily builders
121 # The purpose of this job template is to setup a daily/nightly builder and pushes to Sonar analysis.
123 # Required Variables:
124 # name: project name (eg. controller)
125 # stream: branch with - in place of / (eg. stable/helium)
126 # branch: branch (eg. stable/helium)
127 # mvn-goals: Maven Goals parameter to pass to the builder (eg. clean install)
128 # mvn-opts: MAVEN_OPTS paramter to pass to the builder (eg. -Xmx1024m)
130 # Optional Variables:
131 # build-days-to-keep: Number of days to keep builds
132 # build-num-to-keep: Number of builds to keep
133 # build-artifact-days-to-keep: Number of artifacts from builds to keep
134 # build-artifact-num-to-keep: Number of builds to keep with artifacts
139 daysToKeep: '{build-days-to-keep}'
140 numToKeep: '{build-num-to-keep}'
141 artifactDaysToKeep: '{build-artifact-days-to-keep}'
142 artifactNumToKeep: '{build-artifact-num-to-keep}'
146 credentials-id: '{ssh-credentials}'
152 - ssh-agent-credentials:
153 user: '{ssh-credentials}'
159 maven-name: Maven 3.0.4
162 maven-opts: '{mvn-opts}'
167 branch: 'origin/{branch}'
169 maven-opts: '{mvn-opts}'