X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-java.yaml;h=78e89745639b3013e4d0e2d1ce922dbad82b29b2;hb=7f8cd6fb82f12b2ad7a83439c28535eeb7a19ec5;hp=8902f57adb815d8da52427b0394cecf08068fa32;hpb=64ae431e3486c0002350b06bed52a87d98c068cc;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml index 8902f57a..78e89745 100644 --- a/jjb/onap/global-templates-onap-java.yaml +++ b/jjb/onap/global-templates-onap-java.yaml @@ -68,7 +68,7 @@ - shell: !include-raw-escape: ./verify-jobs.sh -# A job to perform CSIT on policy components +# A job to perform CSIT on policy components - job-template: name: 'onap-{project-name}-{stream}-policy-csit-verify-java' disabled_job_var: false @@ -115,7 +115,7 @@ - string: name: CSIT_NAME default: '{csit-name}' - description: The name of the csit-test to run + description: The name of the csit-test to run - string: name: SUBDIRECTORY default: '{subdirectory}' @@ -144,10 +144,46 @@ !include-raw-escape: ./verify-jobs.sh - shell: !include-raw-escape: ./verify-policy-csit.sh + +# A job to plot the result of cps performance test +- job-template: + name: 'onap-{project-name}-performance-tests-plots' + disabled_job_var: false + node: xerces-cps-hw + wipe_workspace: false + + triggers: + - timed: '{timer}' + + builders: + - shell: + !include-raw-escape: ./cps/prepare-performance-tests-data.sh + + publishers: + - html-publisher: + name: "Performance Review" + dir: "." + files: "cpsStableTestsPerformanceReview.html,ncmpStableTestsPerformanceReview.html,cpsUnstableTestsPerformanceReview.html,ncmpUnstableTestsPerformanceReview.html" + +# A job to trigger performance test which are based on K6 Framework on cps project +- job-template: + name: 'onap-{project-name}-performance-test-k6' + disabled_job_var: false + node: xerces-cps-hw + wipe_workspace: false + + triggers: + - timed: '{timer}' + + builders: + - shell: + !include-raw-escape: ./cps/k6-performance-tests-trigger.sh + +# A job to perform performance test which are based on Spock-Groovy Framework on cps project - job-template: name: 'onap-{project-name}-{stream}-performance-test-java' disabled_job_var: false - node: onap-ubuntu1804 + node: xerces-cps-hw disabled: '{obj:disabled_job_var}' concurrent: true @@ -191,6 +227,7 @@ name: SUBDIRECTORY default: '{subdirectory}' description: Subdirectory of the workspace for which the pom.xml will be called. This allows the verify to be called against a specific directory + scm: - git-scm: ssh-credentials-id: nordixinfra-nordix-gerrit-ssh @@ -224,7 +261,6 @@ - shell: !include-raw-escape: ./verify-jobs.sh - # csits for diferent projects are different so need to have special handling - job-template: name: 'onap-policy-docker-{stream}-csit-java'