From 18202403b7ec1ca74ab69548920ebbde8c0e5dd4 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Fri, 2 Sep 2016 14:26:35 +0200 Subject: Remove double slashes when generating the links of the logs in artifact repo Change-Id: Ia9c3b5765872516640db451ad54f2efab9250082 Signed-off-by: jose.lausuch --- utils/push-test-logs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/push-test-logs.sh b/utils/push-test-logs.sh index 5bf94616a..0fa882bc9 100644 --- a/utils/push-test-logs.sh +++ b/utils/push-test-logs.sh @@ -56,11 +56,11 @@ if [ -d "$dir_result" ]; then else echo "Uploading logs to artifact $project_artifact" gsutil -m cp -r "$dir_result"/* gs://artifacts.opnfv.org/"$project_artifact"/ >/dev/null 2>&1 - echo "Logs can be found in http://artifacts.opnfv.org/logs_"$project"_"$testbed".html" + echo "Logs can be found in http://artifacts.opnfv.org/logs_${project}_${testbed}.html" cd $dir_result files=($(find . -name \* -print|sed 's/^\.//'|sed '/^\s*$/d')) for f in ${files[@]}; do - echo "http://artifacts.opnfv.org/"$project_artifact"/"$f + echo "http://artifacts.opnfv.org/${project_artifact}${f}" done fi fi -- cgit 1.2.3-korg