Hi,
why not triggering Job D directly from job A ? In this way, if you put that 
in a stage after job B and job C is triggered ... it will only be triggered 
if both succedded:

stage("Run B and C") {
  steps {
    parallel(
      "job B": { buildJob ... },
      "job C:" { build Job ... },
}

stage("Run D") {
  steps {
   // this will run only if both Job B and C succeed
    buildJob
  }
}

Cheers,
Gianluca.

Il giorno martedì 1 settembre 2020 alle 19:52:49 UTC+1 chenna keshav ha 
scritto:

> Hi,
>
> i have stuck with a small issue... i have a job A which triggers job B and 
> job C. for job B and job C downstream job is job D.... i need this job D is 
> to be triggered when job B and job C both are success. i have tried with 
> "Build after other projects are build" with "trigger only if build is 
> stable" option. its not working for me... the job is getting triggered even 
> one of jobs is success. can some one please help me on this..........
>
> Thanks,
> Keshav.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d4839902-97c8-4eb5-baa2-a080a400cfdbn%40googlegroups.com.

Reply via email to