You can setup multiple promotions that refer to the same jobs. In
this case, you would have the following:
1) Green when B and C are successful
2) Blue when D is successful
3) Gold when B, C and D are successful (Green + Blue)
The trick is to make sure you have Job A create a fingerprinted file
and that the same fingerprinted file with the same fingerprint is in
jobs B, C and D.
On Feb 2, 4:32 pm, Tom Rini <
[hidden email]> wrote:
> Hey all,
>
> I'm trying to get the following chain of jobs:
> A ---> B-->D
> \--> C
>
> To have A be promoted with a green star when B and C complete
> successfully, a blue star when D completes successfully and a gold
> star when it has both a green and blue star. Do I have to introduce
> job E that checks for (B&&C) and (D) and applies stars as needed? If
> so, how would I do that? In this case A caused by changes in a source
> tree, B/C are building and D is tests of B. Ideally, B/C/D can be
> called by a different SCM tree.
>
> Thanks!
>
> --
> Tom