stuck in build loop
Hi folks,
I have a configuration with dependencies such that builds trigger deployments which trigger smoke tests of the deployed builds:
The problem is that the first build chain completes (build->deploy to DEV->smoke test DEV) and that correctly triggers the next step, a deploy to our STAGE environment. However, that STAGE deployment snapshot dependency on the build step triggers another full build rather than reusing the output of the existing build.
This shows the extra build job triggered as a prerequisite of deployment to our staging environment. Instead, I would expect the deploy to STAGE to reuse the build that already exists. It should reuse the same build used by the first part of the build chain (deploy DEV -> smoke DEV, above).

All the deployment jobs depend on the build jobs:

The deployment to DEV is triggered by completion of the build job.
Deployment to STAGE is triggered by completion of the smoke test in DEV.
Deployment to PROD is run manually.
Can you tell me how this configuration should be changed to get the behavior we expect?
Thanks,
Rob.
Please sign in to leave a comment.