From: Markos Chandras Date: Sat, 28 Jan 2017 00:26:36 +0000 (+0000) Subject: jjb: infra: bifrost-verity: Ignore missing landing page X-Git-Tag: danube.1.0~397^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=df73e2f3a8fe8b0170a431f1fbe9f7a19c516653;p=releng.git 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 --- 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}"