Ask the Jenkins agent where a work item has been deployed. It shows, per deployment environment, the latest Jenkins build that deployed the work item there.
Ask for example:
- Has this work item been deployed to production?
- Where is JJI-123 deployed?
- When was JJI-123 last deployed to staging?
The answer
For “has it reached production?” the agent answers:
| Answer | When |
|---|---|
| Yes | The latest deployment to a production environment finished successfully. It names the environment and when. |
| Not yet | The work item was deployed, but not to a production environment. |
| Not sure | The latest deployment to production is still running or didn’t succeed. An earlier one may have succeeded. |
With more than one production environment, for example Prod EU and Prod US, it answers for each of them.
Then it lists the environments from development to production, each with the build and job that deployed the work item, its result, when it ran, and a link to the build.
Deployment environments
The environments and their types (development, testing, staging or production) come from Jenkins. Jobs report them through the Deployment Build Marker. An environment without a type never counts as production.
Limits
- The agent sees the latest deployment per environment, not the earlier ones.
- When the agent finds no deployments, that doesn’t mean the work item wasn’t deployed: the jobs may not report deployment environments, or you may not be allowed to view the builds.
Previous: Triage a Failed Build
Next: Release Readiness