From: wutianwei Date: Wed, 28 Dec 2016 03:49:49 +0000 (+0800) Subject: modify the output message in push-test-log.sh X-Git-Tag: danube.1.0~503^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=06a9a99d5a910fac6e4327e408a532e6daad3db4;p=releng.git 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 --- 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