X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fshell%2Frun_bluval.sh;h=844c6110e81fa75daa9a2a1d8efe0886a323e1f9;hp=76f87667c3efa91aaf001189d21441d1f22e4c54;hb=28f5a48f1d4d9ec4f3ac4cf0703b70c7b58f5a13;hpb=c6db17ea4f9cfeaa710ffc8b95ee315d9f555a84 diff --git a/jjb/shell/run_bluval.sh b/jjb/shell/run_bluval.sh index 76f8766..844c611 100755 --- a/jjb/shell/run_bluval.sh +++ b/jjb/shell/run_bluval.sh @@ -107,7 +107,7 @@ cluster_master_ip=${cluster_master_ip:-$CLUSTER_MASTER_IP} ssh_user=${sh_user:-$CLUSTER_SSH_USER} blueprint_layer=${blueprint_layer:-$LAYER} -if [ "$blueprint_layer" == "k8s" ] +if [ "$blueprint_layer" == "k8s" ] || [ -z "$blueprint_layer" ] then if [ -z "$cluster_master_ip" ] then @@ -162,8 +162,6 @@ then options+=" -o" fi -printf 'ok / PASS /\nerror / FAIL /\n' > ./bluval/rules.txt - set +e # even if the script fails we need to change the owner of results # shellcheck disable=SC2086