I have a job that build a project and a downstream job that use some scripts to test that.
Is there any way to change result of a build from a downstream build?
I tried using groovy script as below but did not work:
You can use
parametrised build plugin. It allows you to have your downstream builds as
build task. Your upstream build can fail if any of the downstream builds fail.