Put cronjobs in order
- the order of cronjobs will be like:
- 0:00 Run Old test
- 0:30 Run New (K6) test
- 0:31 Run plot for Old test
- 1:00 Run Old test
- 1:01 Run plot for New (K6) Test
Issue-ID: CPS-2244
Change-Id: I7e7f007910f9260b2d2f01f2405753ec0ee76fc2
Signed-off-by: halil.cakal <halil.cakal@est.tech>
diff --git a/jjb/onap/cps/cps-performance-test-jobs.yaml b/jjb/onap/cps/cps-performance-test-jobs.yaml
index 8d4cb9b..4c65fdf 100644
--- a/jjb/onap/cps/cps-performance-test-jobs.yaml
+++ b/jjb/onap/cps/cps-performance-test-jobs.yaml
@@ -24,7 +24,10 @@
name: cps-performance-test
project: cps
project-name: cps
- timer: "0 */2 * * *"
+
+ # run every hour
+ timer: "0 * * * *"
+
mvn_params: "-P include-performance"
stream:
@@ -39,7 +42,9 @@
name: cps-tests-plots
project: cps
project-name: cps
- timer: "0 1-23/2 * * *"
+
+ # run 31 minutes past every hour
+ timer: "31 * * * *"
jobs:
- 'onap-{project-name}-performance-tests-plots'
@@ -48,7 +53,9 @@
name: cps-k6-tests
project: cps
project-name: cps
- timer: "15 7 * * *"
+
+ # run 30 minutes past every hour
+ timer: "30 * * * *"
jobs:
- 'onap-{project-name}-performance-test-k6'
@@ -57,7 +64,9 @@
name: cps-k6-tests-plots
project: cps
project-name: cps
- timer: "45 7 * * *"
+
+ # run 1 minutes past every hour
+ timer: "1 * * * *"
jobs:
- 'onap-{project-name}-k6-performance-tests-plots'
\ No newline at end of file