Plot more performance test graphs on the CPS performance report
[infra/cicd.git] / jjb / onap / global-templates-onap-java.yaml
index 91c4a28ae109bc5bddc76992eca12ff15af05259..00b8b281a0b779d0cb9040ffa4c88ea35b9def2f 100644 (file)
 - 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:
-      - plot:
-          - title: "performance"
-            group: "performance"
-            csvFileName: "results.txt"
-            style: line
-            exclude-zero-yaxis: true
-            num-builds: '30'
-            series:
-              - file:
-                url: 'results.txt'
-                inclusion-flag: 'off'
-                display-table: false
-                format: csv
+      - html-publisher:
+          name: "Performance Review"
+          dir: "."
+          files: "index.html,createOperation.html,readOperation.html,updateOperation.html,deleteOperation.html"
 
 - 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
           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
       - shell:
           !include-raw-escape: ./verify-jobs.sh
 
-    publishers:
-      - trigger:
-          project: 'onap-cps-performance-tests-plots'
-
 # csits for diferent projects are different so need to have special handling
 - job-template:
     name: 'onap-policy-docker-{stream}-csit-java'