Deploy must not run if the ood knightly build job fails
Description
The knightly pipeline for OOD, which runs both build and deploy, currently deploys OOD knightly even though the build job fails. As a result, it would fail eventually because the image ID doesn't get passed on from the build job.
We need to find a way not to run the deploy job when the build job fails.
Solution
One way to solve this could be to require an Image ID in the deploy job rules for it to run.
Something like this, if: $DEPLOY_TARGET == "ood" && OOD_IMAGE_ID
Edited by Eesaan Atluri