diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-04-22 07:00:28 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-04-22 05:22:03 +0000 |
commit | 60cccc4ce2e40095e6c7f82e5109a98baaea744b (patch) | |
tree | 7f660283cb78c527fc0c4330e933f15435660faf | |
parent | aa3bdbe2915c7bad3daaf4a8df52ae5ee1433a93 (diff) |
Fix run_report.sh
- fix sed delimiter to eliminate /
Change-Id: I4d6253d7845937ee452da342819d1c390ca28054
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit 00a0cdaeb8cd186f5bd0f7ead5b60c6d49a4929f)
-rwxr-xr-x | resources/tools/report_gen/run_report.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/tools/report_gen/run_report.sh b/resources/tools/report_gen/run_report.sh index 9156b5556d..984686483a 100755 --- a/resources/tools/report_gen/run_report.sh +++ b/resources/tools/report_gen/run_report.sh @@ -106,9 +106,9 @@ python run_robot_data.py -i ${WORKING_DIR}/archive/output.xml \ --formatting rst --start 3 --level 2 \ --regex ".+ipsec.*" \ --title "Crypto in hardware: IP4FWD, IP6FWD" -sed -i -e "s/###JOB###/${JEN_JOB}\/${JEN_BUILD[-1]}/g" \ +sed -i -e "s@###JOB###@${JEN_JOB}\/${JEN_BUILD[-1]}@g" \ ${DTR_PERF_SOURCE_DIR}/index.rst -sed -i -e "s/###LINK###/${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD[-1]}/g" \ +sed -i -e "s@###LINK###@${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD[-1]}@g" \ ${DTR_PERF_SOURCE_DIR}/index.rst rm -f ${DTR_PERF_SOURCE_DIR}/*.json @@ -132,9 +132,9 @@ unzip -o ${STATIC_DIR_ARCH}/${JEN_JOB}-${JEN_BUILD[-1]}.zip -d ${WORKING_DIR}/ python run_robot_data.py -i ${WORKING_DIR}/archive/output.xml \ --output ${DTR_TESTPMD_SOURCE_DIR}/testpmd_performance_results.rst \ --formatting rst --start 3 --level 2 -sed -i -e "s/###JOB###/${JEN_JOB}\/${JEN_BUILD[-1]}/g" \ +sed -i -e "s@###JOB###@${JEN_JOB}\/${JEN_BUILD[-1]}@g" \ ${DTR_TESTPMD_SOURCE_DIR}/index.rst -sed -i -e "s/###LINK###/${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD[-1]}/g" \ +sed -i -e "s@###LINK###@${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD[-1]}@g" \ ${DTR_TESTPMD_SOURCE_DIR}/index.rst rm -f ${DTR_TESTPMD_SOURCE_DIR}/*.json @@ -258,9 +258,9 @@ python run_robot_data.py -i ${WORKING_DIR}/archive/output.xml \ --formatting rst --start 4 --level 2 \ --regex ".+(ip4vxlan|ip6vxlan).*" \ --title "VXLAN Overlay Tunnels" -sed -i -e "s/###JOB###/${JEN_JOB}\/${JEN_BUILD}/g" \ +sed -i -e "s@###JOB###@${JEN_JOB}\/${JEN_BUILD}@g" \ ${DTR_FUNC_SOURCE_DIR}/index.rst -sed -i -e "s/###LINK###/${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD}/g" \ +sed -i -e "s@###LINK###@${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD}@g" \ ${DTR_FUNC_SOURCE_DIR}/index.rst rm -f ${DTR_FUNC_SOURCE_DIR}/*.json @@ -280,9 +280,9 @@ unzip -o ${STATIC_DIR_ARCH}/${JEN_JOB}-${JEN_BUILD}.zip -d ${WORKING_DIR}/ python run_robot_data.py -i ${WORKING_DIR}/archive/csit/output.xml \ --output ${DTR_HONEYCOMB_SOURCE_DIR}/honeycomb_functional_results.rst \ --formatting rst --start 3 --level 2 -sed -i -e "s/###JOB###/${JEN_JOB}\/${JEN_BUILD}/g" \ +sed -i -e "s@###JOB###@${JEN_JOB}\/${JEN_BUILD}@g" \ ${DTR_HONEYCOMB_SOURCE_DIR}/index.rst -sed -i -e "s/###LINK###/${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD}/g" \ +sed -i -e "s@###LINK###@${JEN_URL}\/${JEN_JOB}\/${JEN_BUILD}@g" \ ${DTR_HONEYCOMB_SOURCE_DIR}/index.rst rm -f ${DTR_HONEYCOMB_SOURCE_DIR}/*.json |