This fix adds "pipefail" to the "oc exec" command pipeline and will ensure that if either one of the commands in the pipeline, "oc exec" or "tee" fails, the entire pipeline will fail, and a non-zero exit code is returned. This will fix error handling issues downstream and accurately assert a failure if "setupdb.sh" fails.
This fix adds "pipefail" to the "oc exec" command pipeline and will ensure that if either one of the commands in the pipeline, "oc exec" or "tee" fails, the entire pipeline will fail, and a non-zero exit code is returned. This will fix error handling issues downstream and accurately assert a failure if "setupdb.sh" fails.
https://jsw.ibm.com/browse/MASISMIG-52381