diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-02-08 10:35:20 +0100 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-02-08 14:13:31 +0000 |
commit | 7476da2fba96b24abd6fe0fb9d3dce33362ead46 (patch) | |
tree | 31963e2a25658b4bce84890e548821d0bcce80dc | |
parent | cca8ffd8084b0b69b7f9d2d3976ceedee7443cd5 (diff) |
bug fix: ls only the root directory through gsutils
Change-Id: Ieaa2ce5e3882e6424b920d226721ff539fdc2dd6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
-rw-r--r-- | utils/push-test-logs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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"/ |