From: Ricardo Noriega Date: Fri, 17 Jul 2020 13:15:33 +0000 (+0200) Subject: Catch STATUS without exit CI job X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=d3d737a6eaf864e0aa816eaea3b0a81d1a166a6c;p=kni%2Finstaller.git Catch STATUS without exit CI job Change-Id: I596172a02cb710a153965bee18dd8d29b176cfc7 Signed-off-by: Ricardo Noriega --- diff --git a/ci/kni_deploy_aws.sh b/ci/kni_deploy_aws.sh index 198f839..b3d41d5 100755 --- a/ci/kni_deploy_aws.sh +++ b/ci/kni_deploy_aws.sh @@ -47,7 +47,7 @@ sudo rm -rf /$HOME/.kni/${SITE_NAME} || true # now run the cluster source $HOME/.kni/${SITE_NAME}/profile.env -$HOME/.kni/${SITE_NAME}/requirements/openshift-install create cluster --dir=/$HOME/.kni/${SITE_NAME}/final_manifests 2>&1 | tee ${WORKSPACE}/aws_deploy.log +$HOME/.kni/${SITE_NAME}/requirements/openshift-install create cluster --dir=/$HOME/.kni/${SITE_NAME}/final_manifests 2>&1 | tee ${WORKSPACE}/aws_deploy.log || true STATUS=$? # output tfstate diff --git a/ci/kni_deploy_gcp.sh b/ci/kni_deploy_gcp.sh index 09a3348..30fd498 100755 --- a/ci/kni_deploy_gcp.sh +++ b/ci/kni_deploy_gcp.sh @@ -47,7 +47,7 @@ sudo rm -rf /$HOME/.kni/${SITE_NAME} || true # now run the cluster source $HOME/.kni/${SITE_NAME}/profile.env -$HOME/.kni/${SITE_NAME}/requirements/openshift-install create cluster --dir=/$HOME/.kni/${SITE_NAME}/final_manifests 2>&1 | tee ${WORKSPACE}/gcp_deploy.log +$HOME/.kni/${SITE_NAME}/requirements/openshift-install create cluster --dir=/$HOME/.kni/${SITE_NAME}/final_manifests 2>&1 | tee ${WORKSPACE}/gcp_deploy.log || true STATUS=$? # output tfstate