Set a new dedicated Nordix jenkins server for CPS
[infra/cicd.git] / jjb / onap / global-templates-onap-java.yaml
index 8902f57adb815d8da52427b0394cecf08068fa32..da068a144a64b9e65d2cdc81bf65383ec01478b5 100644 (file)
@@ -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
       - 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}'
           !include-raw-escape: ./verify-jobs.sh
       - shell:
           !include-raw-escape: ./verify-policy-csit.sh
+
+- job-template:
+    name: 'onap-{project-name}-performance-tests-plots'
+    disabled_job_var: false
+    node: xerces-cps-hw
+
+    triggers:
+      - timed: '{timer}'
+
+    builders:
+      - shell:
+          !include-raw-escape: ./cps/prepare-performance-tests-data.sh
+
+    publishers:
+      - 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
 
-
 # csits for diferent projects are different so need to have special handling
 - job-template:
     name: 'onap-policy-docker-{stream}-csit-java'