diff options
Diffstat (limited to 'deployment/onap-lab-ci/scripts/load_influx.sh')
-rwxr-xr-x | deployment/onap-lab-ci/scripts/load_influx.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/deployment/onap-lab-ci/scripts/load_influx.sh b/deployment/onap-lab-ci/scripts/load_influx.sh new file mode 100755 index 000000000..71948801a --- /dev/null +++ b/deployment/onap-lab-ci/scripts/load_influx.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +if [ "$#" -ne 3 ]; then + echo "$0 <job> <start_build> <end_build>" + exit 1 +fi +JOB_NAME=$1 +START_BUILD=$2 +END_BUILD=$3 + +set -x +for BUILD_NUMBER in $(seq $START_BUILD $END_BUILD); do + ./process-robot.sh ~/jobs/$JOB_NAME/builds/$BUILD_NUMBER/robot-plugin/output.xml $JOB_NAME $BUILD_NUMBER +done |