summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2016-12-28 11:49:49 +0800
committerwutianwei <wutianwei1@huawei.com>2016-12-28 15:55:51 +0800
commit06a9a99d5a910fac6e4327e408a532e6daad3db4 (patch)
tree6517934895c70208e9543f4b0cb47e36fe030408
parentf844cacccc10abfe5dfe6aabca327081dd0f8a68 (diff)
modify the output message in push-test-log.sh
This patch modify the output message. It make people quickly find the error, when failed to run the command: gsutil ls Change-Id: Idff6a4fd7b627c1566049ac266af852b6ae49497 Signed-off-by: wutianwei <wutianwei1@huawei.com>
-rw-r--r--utils/push-test-logs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/push-test-logs.sh b/utils/push-test-logs.sh
index 586afce1b..913748f03 100644
--- a/utils/push-test-logs.sh
+++ b/utils/push-test-logs.sh
@@ -54,7 +54,7 @@ if [ -d "$dir_result" ]; then
else
gsutil ls gs://artifacts.opnfv.org/"$project"/ &>/dev/null
if [ $? != 0 ]; then
- echo "Not possible to push results to artifact: gsutil not installed.";
+ echo "Not possible to push results to artifact: some error happened when using gsutil";
else
echo "Uploading logs to artifact $project_artifact"
gsutil -m cp -r "$dir_result"/* gs://artifacts.opnfv.org/"$project_artifact"/ >/dev/null 2>&1