3 # Job template for Java verify jobs
5 # The purpose of this job template is to run "maven clean install" for
6 # projects using this template.
9 # branch: git branch (eg. stable/lithium or master)
11 name: '{project}-{stream}-verify-java'
13 project-type: freestyle
19 days-to-keep: '{build-days-to-keep}'
20 num-to-keep: '{build-num-to-keep}'
21 artifact-days-to-keep: '{build-artifact-days-to-keep}'
22 artifact-num-to-keep: '{build-artifact-num-to-keep}'
25 - ecomp-infra-parameters:
28 refspec: 'refs/heads/{branch}'
32 refspec: '$GERRIT_REFSPEC'
33 choosing-strategy: 'gerrit'
36 - ecomp-infra-wrappers:
37 build-timeout: '{build-timeout}'
40 - gerrit-trigger-patch-submitted:
45 - provide-maven-settings:
46 global-settings-file: 'global-settings'
47 settings-file: '{mvn-settings}'
49 maven-version: 'mvn33'
50 goals: 'clean install'
51 settings: '{mvn-settings}'
53 global-settings: 'global-settings'
54 global-settings-type: cfp
57 - ecomp-infra-shiplogs:
58 maven-version: 'mvn33'
61 # Job template for Java verify jobs with POM not at the root
63 # The purpose of this job template is to run "maven clean install" for
64 # projects using this template.
67 # branch: git branch (eg. stable/lithium or master)
68 # pom: name/location of the pom.xml file relative to the workspace
69 # pattern: ant file-path pattern relative to the workspace used to
72 name: '{project}-{stream}-{subproject}-verify-java'
74 project-type: freestyle
80 days-to-keep: '{build-days-to-keep}'
81 num-to-keep: '{build-num-to-keep}'
82 artifact-days-to-keep: '{build-artifact-days-to-keep}'
83 artifact-num-to-keep: '{build-artifact-num-to-keep}'
86 - ecomp-infra-parameters:
89 refspec: 'refs/heads/{branch}'
93 refspec: '$GERRIT_REFSPEC'
94 choosing-strategy: 'gerrit'
97 - ecomp-infra-wrappers:
98 build-timeout: '{build-timeout}'
101 - gerrit-trigger-patch-submitted-pattern:
107 - provide-maven-settings:
108 global-settings-file: 'global-settings'
109 settings-file: '{mvn-settings}'
111 maven-version: 'mvn33'
113 goals: 'clean install'
114 settings: '{mvn-settings}'
116 global-settings: 'global-settings'
117 global-settings-type: cfp
120 - ecomp-infra-shiplogs:
121 maven-version: 'mvn33'
124 # Job template for Java merge jobs
126 # The purpose of this job template is to run "maven clean deploy" for
127 # projects using this template.
129 # Required Variables:
130 # branch: git branch (eg. stable/lithium or master)
131 name: '{project}-{stream}-merge-java'
133 project-type: freestyle
138 days-to-keep: '{build-days-to-keep}'
139 num-to-keep: '{build-num-to-keep}'
140 artifact-days-to-keep: '{build-artifact-days-to-keep}'
141 artifact-num-to-keep: '{build-artifact-num-to-keep}'
144 - ecomp-infra-parameters:
147 refspec: 'refs/heads/{branch}'
150 - gerrit-trigger-scm:
152 choosing-strategy: 'default'
155 - ecomp-infra-wrappers:
156 build-timeout: '{build-timeout}'
159 - gerrit-trigger-patch-merged:
164 - provide-maven-settings:
165 global-settings-file: 'global-settings'
166 settings-file: '{mvn-settings}'
168 maven-version: 'mvn33'
169 # yamllint disable rule:line-length
170 goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.open-o.org'
172 settings: '{mvn-settings}'
174 global-settings: 'global-settings'
175 global-settings-type: cfp
178 - ecomp-infra-shiplogs:
179 maven-version: 'mvn33'
182 # Job template for Java merge jobs with POM not at the root
184 # The purpose of this job template is to run "maven clean deploy" for
185 # projects using this template.
187 # Required Variables:
188 # branch: git branch (eg. stable/lithium or master)
189 # pom: name/location of the pom.xml file relative to the workspace
190 # pattern: ant file-path pattern relative to the workspace used to
193 name: '{project}-{stream}-{subproject}-merge-java'
195 project-type: freestyle
200 days-to-keep: '{build-days-to-keep}'
201 num-to-keep: '{build-num-to-keep}'
202 artifact-days-to-keep: '{build-artifact-days-to-keep}'
203 artifact-num-to-keep: '{build-artifact-num-to-keep}'
206 - ecomp-infra-parameters:
209 refspec: 'refs/heads/{branch}'
212 - gerrit-trigger-scm:
214 choosing-strategy: 'default'
217 - ecomp-infra-wrappers:
218 build-timeout: '{build-timeout}'
221 - gerrit-trigger-patch-merged-pattern:
227 - provide-maven-settings:
228 global-settings-file: 'global-settings'
229 settings-file: '{mvn-settings}'
231 maven-version: 'mvn33'
233 # yamllint disable rule:line-length
234 goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.open-o.org'
236 settings: '{mvn-settings}'
238 global-settings: 'global-settings'
239 global-settings-type: cfp
242 - ecomp-infra-shiplogs:
243 maven-version: 'mvn33'