Enable k6 tests for latest CPS build
- remove hardcoded patchset from git fetch
- do mvn install so latest image is built
Issue-ID: CPS-2200
Change-Id: I10f5ff71f95e0ef702fcb89d63fa25ade2839249
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
diff --git a/jjb/onap/cps/k6-performance-tests-trigger.sh b/jjb/onap/cps/k6-performance-tests-trigger.sh
index 6377aa9..edff9fe 100755
--- a/jjb/onap/cps/k6-performance-tests-trigger.sh
+++ b/jjb/onap/cps/k6-performance-tests-trigger.sh
@@ -18,7 +18,7 @@
set -o errexit # Exit on most errors
set -o nounset # Disallow expansion of unset variables
set -o pipefail # Use last non-zero exit code in a pipeline
-set -o xtrace # Trace logging - disabled to avoid producing gigabytes of logs
+set -o xtrace # Trace logging
#############################################################################################################################
################################################ M A I N ####################################################################
@@ -45,8 +45,8 @@
git clone https://gerrit.nordix.org/onap/cps
cd cps
-# Since the commit which includes k6 test has not been merged yet
-git fetch https://gerrit.nordix.org/onap/cps refs/changes/22/21022/10 && git checkout FETCH_HEAD
+# Build latest images
+mvn -B clean install -DskipTests -Dcheckstyle.skip
working_directory=$(pwd)