modify the output message in push-test-log.sh 53/26553/2
authorwutianwei <wutianwei1@huawei.com>
Wed, 28 Dec 2016 03:49:49 +0000 (11:49 +0800)
committerwutianwei <wutianwei1@huawei.com>
Wed, 28 Dec 2016 07:55:51 +0000 (15:55 +0800)
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

index 586afce..913748f 100644 (file)
@@ -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