From 7476da2fba96b24abd6fe0fb9d3dce33362ead46 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Mon, 8 Feb 2016 10:35:20 +0100 Subject: bug fix: ls only the root directory through gsutils Change-Id: Ieaa2ce5e3882e6424b920d226721ff539fdc2dd6 Signed-off-by: Morgan Richomme --- utils/push-test-logs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') 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"/ -- cgit 1.2.3-korg