[CPS] Always build cps from source in k6 jobs
This patch makes two changes:
- Always build cps from source code, so latest docker image is used
- Run plot jobs at the end of the hour, so results are up to date
Issue-ID: CPS-1975
Change-Id: Iee135425f34e1ccf7efc310ed6589e7684d09430
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
diff --git a/jjb/onap/cps/cps-performance-test-jobs.yaml b/jjb/onap/cps/cps-performance-test-jobs.yaml
index a33adda..18fbc12 100644
--- a/jjb/onap/cps/cps-performance-test-jobs.yaml
+++ b/jjb/onap/cps/cps-performance-test-jobs.yaml
@@ -43,8 +43,8 @@
project: cps
project-name: cps
- # run 31 minutes past every hour
- timer: "31 * * * *"
+ # run 58 minutes past every hour
+ timer: "58 * * * *"
jobs:
- 'onap-{project-name}-performance-tests-plots'
@@ -65,8 +65,8 @@
project: cps
project-name: cps
- # run 31 minutes past every hour
- timer: "31 * * * *"
+ # run 58 minutes past every hour
+ timer: "58 * * * *"
jobs:
- 'onap-{project-name}-k6-performance-tests-plots'
diff --git a/jjb/onap/cps/k6-performance-tests-trigger.sh b/jjb/onap/cps/k6-performance-tests-trigger.sh
index 4caa4d6..27605dd 100755
--- a/jjb/onap/cps/k6-performance-tests-trigger.sh
+++ b/jjb/onap/cps/k6-performance-tests-trigger.sh
@@ -26,6 +26,7 @@
rm -rf cps
git clone https://gerrit.nordix.org/onap/cps
cd cps
+mvn clean install -DskipTests -Dcheckstyle.skip
# Start the k6 test runner
chmod 755 ./k6-tests/run-k6-tests.sh