summaryrefslogtreecommitdiffstats
path: root/utils/push-test-logs.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-09-02 13:00:48 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-02 13:00:48 +0000
commit9f410cf990048e6388d6f41289ebe6cd70185fc8 (patch)
tree80a06b183e904a4f1b984770706a94807c80517b /utils/push-test-logs.sh
parent2e261664b3b723061992be56eab7b506310f9ec5 (diff)
parent18202403b7ec1ca74ab69548920ebbde8c0e5dd4 (diff)
Merge "Remove double slashes when generating the links of the logs in artifact repo"
Diffstat (limited to 'utils/push-test-logs.sh')
-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