Enable k6 tests for latest CPS build
[infra/cicd.git] / jjb / onap / cps / k6-performance-tests-trigger.sh
index 6377aa96ca0eaa4fca54c6f174ccb759ddd0a56a..edff9fe223387149d21b1a90d78609c8c6828338 100755 (executable)
@@ -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 @@ mkdir "build-logs"
 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)