- 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:
- html-publisher:
name: "Performance Review"
dir: "."
- files: "index.html,createOperation.html,readOperation.html,updateOperation.html,deleteOperation.html"
+ 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
- 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'