Build chain causing a child build to be reused with other builds in the chain

Hi,

I'm having some problems with my build chains, and I'm not sure if I'm approaching it incorrectly, or I'm just missing a setting that's stopping me from being able to do what I want.

 

There are two configurations of our build:

A: Build the code

B: Install the code

This has purposely been separated so we can do the build on a specific build server and then install it on our prod, labs, dev servers without taking up the resources of those specific servers.

The install build is a template, that's reused for multiple services in our project, the specific service params are passed into the template and then used for the build and install configurations. The build configuration is then added as a snapshot and artifact dependency so the files that are built can be installed.

This all works fine.

 

To allow us to install all the services to an environment at once, without having to click through each build config individually, we have another config per environment that lists all the services that need to be built for that environment. So I would like the build chains to work like this:

- Build live services --- Install service A --- Build service A
--- Install service B --- Build service B
--- Install service C --- Build service C
--- Install service D --- Build service D

However, this isn't how it's currently working, it's actually doing this:

- Build live services --- Install service A --- Build service A/B/C/D
--- Install service B /
--- Install service C /
--- Install service D /

Where all the install services are trying to use the same build service build and causing conflicts with the parameters, and then ultimately failing.

Is there a way to tell the install configurations to create their own build service, rather than trying to use the same one as all the others? Or, am I approaching this completely wrong and need to change how I should do this?

Any advice is appreciated, if you need more info about what I'm trying to do, then please let me know.

Thanks,

Liam

1

Please sign in to leave a comment.