2 name: 'onap-{project-name}-{stream}-verify-java'
3 disabled_job_var: false
6 disabled: '{obj:disabled_job_var}'
8 mvn_settings_xml_version:
17 project: 'onap/{project}'
19 - nordix-gerrit-parameters
22 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
23 description: Java home
26 default: '{mvn_version}'
27 description: Maven version
30 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
31 description: URL to download Maven
34 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
35 description: Path to mvn executable
37 name: MVN_SETTINGS_XML_VERSION
38 default: '{mvn_settings_xml_version}'
39 description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
42 default: '{mvn_params}'
43 description: Maven build parameters
46 default: '{subdirectory}'
47 description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
51 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
53 refspec: $GERRIT_REFSPEC
58 - nordix-gerrit-trigger-patchset-created:
59 project: 'onap/{project}'
69 !include-raw-escape: ./verify-jobs.sh
71 # A job to perform CSIT on policy components
73 name: 'onap-{project-name}-{stream}-policy-csit-verify-java'
74 disabled_job_var: false
77 disabled: '{obj:disabled_job_var}'
79 mvn_settings_xml_version:
88 project: 'onap/{project}'
90 - nordix-gerrit-parameters
93 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
94 description: Java home
97 default: '{mvn_version}'
98 description: Maven version
101 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
102 description: URL to download Maven
105 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
106 description: Path to mvn executable
108 name: MVN_SETTINGS_XML_VERSION
109 default: '{mvn_settings_xml_version}'
110 description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
113 default: '{mvn_params}'
114 description: Maven build parameters
117 default: '{csit-name}'
118 description: The name of the csit-test to run
121 default: '{subdirectory}'
122 description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
126 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
128 refspec: $GERRIT_REFSPEC
133 - nordix-gerrit-trigger-patchset-created:
134 project: 'onap/{project}'
144 !include-raw-escape: ./verify-jobs.sh
146 !include-raw-escape: ./verify-policy-csit.sh
148 # A job to plot the result of cps performance test
150 name: 'onap-{project-name}-performance-tests-plots'
151 disabled_job_var: false
153 wipe_workspace: false
160 !include-raw-escape: ./cps/prepare-performance-tests-data.sh
164 name: "Performance Review"
166 files: "cpsStableTestsPerformanceReview.html,ncmpStableTestsPerformanceReview.html,cpsUnstableTestsPerformanceReview.html,ncmpUnstableTestsPerformanceReview.html"
168 # A job to trigger performance test which are based on K6 Framework on cps project
170 name: 'onap-{project-name}-performance-test-k6'
171 disabled_job_var: false
173 wipe_workspace: false
180 !include-raw-escape: ./cps/k6-performance-tests-trigger.sh
182 # A job to plot the result of k6 cps performance test
184 name: 'onap-{project-name}-k6-performance-tests-plots'
185 disabled_job_var: false
187 wipe_workspace: false
194 !include-raw-escape: ./cps/prepare-k6-performance-tests-plots.sh
198 name: "K6 Performance Review"
200 files: "k6TestsPerformanceReview.html"
202 # A job to perform performance test which are based on Spock-Groovy Framework on cps project
204 name: 'onap-{project-name}-{stream}-performance-test-java'
205 disabled_job_var: false
208 disabled: '{obj:disabled_job_var}'
210 mvn_settings_xml_version:
218 - project-parameters:
219 project: 'onap/{project}'
221 - nordix-gerrit-parameters
224 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
225 description: Java home
228 default: '{mvn_version}'
229 description: Maven version
232 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
233 description: URL to download Maven
236 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
237 description: Path to mvn executable
239 name: MVN_SETTINGS_XML_VERSION
240 default: '{mvn_settings_xml_version}'
241 description: Commit ID of ONAP Oparent repository (https://git.onap.org/oparent/) to pull. Used for Maven settings file. Can be left blank to pull the latest version.
244 default: '{mvn_params}'
245 description: Maven build parameters
248 default: '{subdirectory}'
249 description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
253 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
262 server-name: 'Nordix Gerrit'
264 - comment-added-contains-event:
265 comment-contains-value: 'performance-test'
267 - project-compare-type: 'ANT'
268 project-pattern: 'onap/{project}'
270 - branch-compare-type: 'ANT'
271 branch-pattern: '**/{branch}'
273 - compare-type: 'ANT'
282 !include-raw-escape: ./verify-jobs.sh
284 # csits for diferent projects are different so need to have special handling
286 name: 'onap-policy-docker-{stream}-csit-java'
287 disabled_job_var: false
288 node: onap-ubuntu1804
290 disabled: '{obj:disabled_job_var}'
296 - project-parameters:
297 project: 'onap/{project}'
299 - nordix-gerrit-parameters
302 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
303 description: Java home
305 name: CSIT_TEST_NAMES
306 default: '{csit_test_names}'
307 description: The name of the csits test to run
310 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
312 refspec: $GERRIT_REFSPEC
317 - nordix-gerrit-trigger-patchset-created:
318 project: 'onap/{project}'
327 - 'wait-pkg-mgr-macro'
329 !include-raw-escape: ./policy-docker-csit-jobs.sh