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 perform performance test which are based on Spock-Groovy Framework on cps project
184 name: 'onap-{project-name}-{stream}-performance-test-java'
185 disabled_job_var: false
188 disabled: '{obj:disabled_job_var}'
190 mvn_settings_xml_version:
198 - project-parameters:
199 project: 'onap/{project}'
201 - nordix-gerrit-parameters
204 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
205 description: Java home
208 default: '{mvn_version}'
209 description: Maven version
212 default: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/$MVN_VERSION/apache-maven-${{MVN_VERSION}}-bin.zip
213 description: URL to download Maven
216 default: $WORKSPACE/apache-maven-${{MVN_VERSION}}/bin/mvn
217 description: Path to mvn executable
219 name: MVN_SETTINGS_XML_VERSION
220 default: '{mvn_settings_xml_version}'
221 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.
224 default: '{mvn_params}'
225 description: Maven build parameters
228 default: '{subdirectory}'
229 description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory
233 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
242 server-name: 'Nordix Gerrit'
244 - comment-added-contains-event:
245 comment-contains-value: 'performance-test'
247 - project-compare-type: 'ANT'
248 project-pattern: 'onap/{project}'
250 - branch-compare-type: 'ANT'
251 branch-pattern: '**/{branch}'
253 - compare-type: 'ANT'
262 !include-raw-escape: ./verify-jobs.sh
264 # csits for diferent projects are different so need to have special handling
266 name: 'onap-policy-docker-{stream}-csit-java'
267 disabled_job_var: false
268 node: onap-ubuntu1804
270 disabled: '{obj:disabled_job_var}'
276 - project-parameters:
277 project: 'onap/{project}'
279 - nordix-gerrit-parameters
282 default: '/usr/lib/jvm/{jdk-version}-openjdk-amd64'
283 description: Java home
285 name: CSIT_TEST_NAMES
286 default: '{csit_test_names}'
287 description: The name of the csits test to run
290 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
292 refspec: $GERRIT_REFSPEC
297 - nordix-gerrit-trigger-patchset-created:
298 project: 'onap/{project}'
307 - 'wait-pkg-mgr-macro'
309 !include-raw-escape: ./policy-docker-csit-jobs.sh