From df73e2f3a8fe8b0170a431f1fbe9f7a19c516653 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Sat, 28 Jan 2017 00:26:36 +0000 Subject: [PATCH] jjb: infra: bifrost-verity: Ignore missing landing page if this a new build, there is no landing page to remove and 'gsutil rm' will return false breaking the build. Ignore such failures. Change-Id: If5969b06b7a65a8e36abda57e8cb75e8684a716a Signed-off-by: Markos Chandras --- jjb/infra/bifrost-verify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/infra/bifrost-verify.sh b/jjb/infra/bifrost-verify.sh index bb4784809..94c7dacfa 100755 --- a/jjb/infra/bifrost-verify.sh +++ b/jjb/infra/bifrost-verify.sh @@ -22,7 +22,7 @@ function upload_logs() { # stale information. # TODO: Maybe cleanup the entire $BIFROST_GS_URL directory # before we upload the new data. - gsutil -q rm ${BIFROST_GS_URL}/index.html + gsutil -q rm ${BIFROST_GS_URL}/index.html || true if [[ -d ${WORKSPACE}/logs ]]; then echo "Uploading collected bifrost logs to ${BIFROST_LOG_URL}" -- 2.16.6