Sep 06 2023
06:44 PM
- last edited on
Mar 05 2024
03:00 PM
by
TechCommunityAP
Sep 06 2023
06:44 PM
- last edited on
Mar 05 2024
03:00 PM
by
TechCommunityAP
It would be SO helpful if the ‘run stage state changed’ event payload included environment names from the deployment jobs. Perhaps it makes sense to include an array detailing the Jobs that were completed in the Stage and if it was a deploy job, include the environment name there. This would make life so much easier and would reduce the number of API calls I have to do after the fact to find this information.
My requirement is to “Detect” prod deployments and look up the commits that were completed between this current prod deployment and the last. We do this to calculate the Delivery Lead Time. My problem is that the Stage name is free-form text and can be ANYTHING like “DeployCode” or "Release". How am I supposed to know that is Prod?