From: Morgan Richomme Date: Mon, 8 Feb 2016 09:35:20 +0000 (+0100) Subject: bug fix: ls only the root directory through gsutils X-Git-Tag: brahmaputra.1.0~49 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F9497%2F3;p=releng.git bug fix: ls only the root directory through gsutils Change-Id: Ieaa2ce5e3882e6424b920d226721ff539fdc2dd6 Signed-off-by: Morgan Richomme --- diff --git a/utils/push-test-logs.sh b/utils/push-test-logs.sh index 331cbd942..68f80874a 100644 --- a/utils/push-test-logs.sh +++ b/utils/push-test-logs.sh @@ -36,9 +36,9 @@ if [ -d "$dir_result" ]; then if [ $? != 0 ]; then echo "Not possible to push results to artifact: gsutil not installed"; else - gsutil ls gs://artifacts.opnfv.org/"$project_artifact"/ &>/dev/null + gsutil ls gs://artifacts.opnfv.org/"$project"/ &>/dev/null if [ $? != 0 ]; then - echo "Not possible to push results to artifact: wrong credentials."; + echo "Not possible to push results to artifact: gsutil not installed."; else echo "copy result files to artifact $project_artifact" gsutil -m cp -r "$dir_result" gs://artifacts.opnfv.org/"$project_artifact"/