From: jose.lausuch Date: Fri, 2 Sep 2016 12:26:35 +0000 (+0200) Subject: Remove double slashes when generating the links of the logs in artifact repo X-Git-Tag: colorado.1.0~77^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=18202403b7ec1ca74ab69548920ebbde8c0e5dd4;p=releng.git Remove double slashes when generating the links of the logs in artifact repo Change-Id: Ia9c3b5765872516640db451ad54f2efab9250082 Signed-off-by: jose.lausuch --- 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