Hello
I have 6 stages
- Build
- Image_Scan
- Dev
- Stage
- Prod
6 Dr_deploy
in build we have 1 job build
in image scan we have 3 jobs A, B, C
in Dev we have A_1, A_2,B_1, B_2, C_1, C_2
in stage we have AA_1, AA_2,BB_1, BB_2, CC_1, CC_2
in Prod we have AAA_1, AAA_2,BBB_1, BBB_2, CCC_1, CCC_2
in Dr_Deploy we have AAAA_1, AAAA_2,BBBB_1, BBBB_2, CCCC_1, CCCC_2
if the build job fails total stages should be skipped
in image scan jobs A, B, C if any fails it should skip respective jobs for example image scan job A fails then on Dev A_1, A_2, on stag2 AA_1, AA_2, on Prod AAA_1, AAA_2, on Dr_deploy AAAA_1, AAAA_2
similarly for B and C
passed image scan jobs should go to the next stage and should be able to run manually for their respective jobs on dev, stage, prod, and dr_deploy and at any stage if a job fails their respective jobs from next stag should skip