summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-02 14:26:35 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-09-02 14:58:54 +0200
commit18202403b7ec1ca74ab69548920ebbde8c0e5dd4 (patch)
treef94156f0f7ea425e06765b41c80885833513ff70 /utils
parent68d1088c71e07b78382a7918df954f07e398c449 (diff)
Remove double slashes when generating the links of the logs in artifact repo
Change-Id: Ia9c3b5765872516640db451ad54f2efab9250082 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/push-test-logs.sh4
1 files 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