How to get the reuslt of downstream jobs if one of the downstream job failed with failfast true

Hi

I have a job that has two stages. The first one is to build artifacts and the other one is to run two paralleled jobs. I wish I could get the result of these two paralleled jobs and then write some logic according to the result. The problem is I can get the result if these two jobs passed, however, I could not get the result if one of them failed.

Here is an example/test I have written:
result-test is the upstream job
test1 and test2 are these two paralleled jobs

result-test:
Map set_test = [failFast: true]

set_test[‘set’] = {build job:‘test1’}
set_test[‘test’] = {build job:‘test2’}

println(set_test)
println(set_test[‘test’].getClass())

def result
try{
result = parallel(set_test)
println(“passed”)
println(result)
println(“set result”: +result[‘set’].getResult())
println(“test result”: +result[‘test’].getResult())
}catch(e){
println(“failed”)
println(result)
println(“set result”: +result[‘set’].getResult())
println(“test result”: +result[‘test’].getResult())
}

Looks like you asked this exact same question days ago. Didn’t even update your question with the new info.

I’m closing this