X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fonap%2Fglobal-templates-onap-java.yaml;h=a54bdce9d4a59ddcdd6715aa5da27d9459e037c0;hb=e9fb762e97e5cca67248601272619f0585f1e1b4;hp=63d1ba923f0dff5a751e7987629c69e878f686ca;hpb=869f794ed20f36ded005d2028e519213735b8e1e;p=infra%2Fcicd.git diff --git a/jjb/onap/global-templates-onap-java.yaml b/jjb/onap/global-templates-onap-java.yaml index 63d1ba92..a54bdce9 100644 --- a/jjb/onap/global-templates-onap-java.yaml +++ b/jjb/onap/global-templates-onap-java.yaml @@ -145,6 +145,7 @@ - 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 @@ -164,6 +165,41 @@ 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 plot the result of k6 cps performance test +- job-template: + name: 'onap-{project-name}-k6-performance-tests-plots' + disabled_job_var: false + node: xerces-cps-hw + wipe_workspace: false + + triggers: + - timed: '{timer}' + + builders: + - shell: + !include-raw-escape: ./cps/prepare-k6-performance-tests-plots.sh + + publishers: + - html-publisher: + name: "K6 Performance Review" + dir: "." + files: "k6TestsPerformanceReview.html" + +# 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