From 06a9a99d5a910fac6e4327e408a532e6daad3db4 Mon Sep 17 00:00:00 2001
From: wutianwei <wutianwei1@huawei.com>
Date: Wed, 28 Dec 2016 11:49:49 +0800
Subject: 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>
---
 utils/push-test-logs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'utils')

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
-- 
cgit