X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Freport_gen%2Frun_report.sh;h=a40d91dac7bdf61fd899daf3a6124342b98c3b77;hb=a459a83441b1eaa6268238c53e41f84753b1e76c;hp=273737349644e7a749834dbef5e5d94c1cda5d1d;hpb=61407a72649b7b355472350c2186aa36bf8182e7;p=csit.git diff --git a/resources/tools/report_gen/run_report.sh b/resources/tools/report_gen/run_report.sh index 2737373496..a40d91dac7 100755 --- a/resources/tools/report_gen/run_report.sh +++ b/resources/tools/report_gen/run_report.sh @@ -3,7 +3,7 @@ set -x # Build locally without jenkins integrations -DEBUG=1 +DEBUG=0 # Script directory SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -125,8 +125,8 @@ if [[ ${DEBUG} -eq 0 ]] ; then blds=${JOB[PERF,HC,BLD]} for i in ${blds[@]}; do - curl --silent ${URL[JENKINS,HC]}/${JOB[PERF,HC]}/${JOB[PERF,HC,BLD]}/robot/report/\*zip\*/robot-plugin.zip \ - --output ${DIR[STATIC,ARCH]}/${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip + curl --silent ${URL[JENKINS,HC]}/${JOB[PERF,HC]}/${i}/robot/report/\*zip\*/robot-plugin.zip \ + --output ${DIR[STATIC,ARCH]}/${JOB[PERF,HC]}-${i}.zip done fi @@ -161,8 +161,8 @@ then blds=${JOB[PERF,VPP,BLD]} for i in ${blds[@]}; do unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${i}.zip -d ${DIR[WORKING]}/ - ./run_robot_json_data.py \ - --input ${DIR[WORKING]}/output.xml \ + python run_robot_json_data.py \ + --input ${DIR[WORKING]}/robot-plugin/output.xml \ --output ${DIR[DTR,PERF,VPP,IMPRV]}/${JOB[PERF,VPP]}-${i}.json \ --vdevice ${i} done @@ -198,7 +198,7 @@ fi # Generate tables for performance improvements if [[ ${DEBUG} -eq 0 ]] ; then - ./run_improvments_tables.py \ + python run_improvments_tables.py \ --input ${DIR[DTR,PERF,VPP,IMPRV]} \ --output ${DIR[DTR,PERF,VPP,IMPRV]} fi