Do you mean something like this ?

 parallel one: {
             build 'B'
             build 'E'
        }, second: {
            build 'C'
        }
       
      build 'D'


if yes, than in this situation D will be depend on E and I don't want it.

On Sunday, 24 July 2016 16:31:14 UTC+3, Baptiste Mathus wrote:
>
> Move 'build E' instruction in the 'one' closure, just after build B.
>
> Le 24 juil. 2016 2:52 PM, "Shurik" <[email protected] <javascript:>> a 
> écrit :
>
> Hi,
>
> I have the below graph job definition ( via downstream ) and I want to 
> migrate it to pipeline with parallel options.
>
>               A
>             /    \
>            B    C
>           /  \  /
>          E   D
>
> A -> B, C
> B -> E, D
> C -> D
>
> B and C can run in parallel, D need to wait till B and C finished and E 
> can run after B finished.
>
> How I can do the same in pipeline ?
>
> I tried the below, but 
>
> stage 'Stage 1'
>         build 'A'
>        
>        parallel one: {
>              build 'B'
>         }, second: {
>             build 'C'
>         }
>        
>       build 'D'
>
>       build 'E'
> }
>
>
> in this configuration E will wait till C job finished.
>
> Thanks,
> Shurik
>
> -- 
> 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/064a3396-6afa-451e-a9b5-b3877a3cf701%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/064a3396-6afa-451e-a9b5-b3877a3cf701%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/15948b18-818a-4faa-a46f-4426919920f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to