Ask the Jenkins agent how the Jenkins jobs of a work item are doing. It looks at the latest build of every job with builds linked to the work item.
Ask for example:
- What is the build status of this work item?
- Did the latest Jenkins builds for JJI-123 pass?
- Is JJI-123 building green?
The answer
The agent starts with a one-line verdict:
| Verdict | When |
|---|---|
| Failing | The latest finished build of at least one job failed or is unstable. These jobs come first. |
| In progress | No finished build failed, but at least one build is still running. |
| Green | Every latest build finished successfully. |
After the verdict it lists each job with the build number, its result, the test counts when the job publishes test results, when the build ran, and a link to the build in Jenkins.
Jobs found by name
When no builds are linked to the work item, the agent looks for jobs whose name contains the work item key, for example a
branch job named feature/JJI-123. It tells you when it found the jobs this way, as they aren’t linked to the work item.
Limits
- The agent sees the latest build per job, not the earlier builds. To find out since when a job fails, ask why the build failed, see Triage a Failed Build.
- Console logs, failing test names and branch names aren’t available. Follow the link to the build in Jenkins for those.
Previous: Rovo Agent
Next: Find Jenkins Jobs