What is the best approach to block or fail a Jenkins downstream job if any of its upstream jobs have failed or are unstable?
At the moment i have got the "Block build when upstream project is building" option ticked and that's working fine as my downstream job is waiting all the upstream job to finish building. However i don't want to build the job if any of the upstream failed or is unstable.
Thanks