diff options
author | selias <samelias@cisco.com> | 2017-07-20 09:50:58 +0200 |
---|---|---|
committer | selias <samelias@cisco.com> | 2017-07-24 15:22:02 +0200 |
commit | cd8d4dc1498a69b4f9541fb4405fd31fd61d81d9 (patch) | |
tree | 2a00205af6500a085afcb8306beec29ab5d1b584 /resources/tools/report_gen/run_report.sh | |
parent | 1911067935bdf6481fc9b89f40d79ca61f2448d0 (diff) |
Static report content - Honeycomb
Change-Id: I39899747f99684b932bb9c88268391e55b6fc779
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/tools/report_gen/run_report.sh')
-rwxr-xr-x | resources/tools/report_gen/run_report.sh | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/resources/tools/report_gen/run_report.sh b/resources/tools/report_gen/run_report.sh index db079773c8..9076526eda 100755 --- a/resources/tools/report_gen/run_report.sh +++ b/resources/tools/report_gen/run_report.sh @@ -103,7 +103,7 @@ then --output ${DIR[STATIC,ARCH]}/${JOB[FUNC,VPP]}-${JOB[FUNC,VPP,BLD]}.zip fi -### HONEYCOMB SOURCE DATA +### HONEYCOMB FUNCTIONAL SOURCE DATA #if [[ ${DEBUG} -eq 1 ]] ; # cp ./${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip @@ -115,6 +115,21 @@ then --output ${DIR[STATIC,ARCH]}/${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip fi +### HONEYCOMB PERFORMANCE SOURCE DATA + +#if [[ ${DEBUG} -eq 1 ]] ; +# cp ./${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip +#fi + +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 +done +fi + ### NSH_SFC SOURCE DATA #if [[ ${DEBUG} -eq 1 ]] ; |