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>
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