Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 17, 2025

The get-job command displays build numbers but lacks direct URLs, requiring users to manually construct links to access builds.

Changes

  • CLI output: Append build URLs in parentheses to Last Build, Last Success, and Last Failed lines
  • MCP server: Apply same formatting to get_job tool response for consistency
  • Documentation: Update README example to reflect new output format

Example

Before:

Last Build:          #42 - SUCCESS
Last Success:        #42
Last Failed:         #35

After:

Last Build:          #42 - SUCCESS (https://jenkins.example.com/job/my-app/42/)
Last Success:        #42 (https://jenkins.example.com/job/my-app/42/)
Last Failed:         #35 (https://jenkins.example.com/job/my-app/35/)
Original prompt

In "get-job" please print the URL to each of the builds you also print, e.g. in brackets on the end of line.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 17, 2025 00:39
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI changed the title [WIP] Update get-job to print build URLs Add build URLs to get-job output Nov 17, 2025
Copilot AI requested a review from alexec November 17, 2025 00:43
@alexec alexec marked this pull request as ready for review November 17, 2025 00:44
@alexec alexec enabled auto-merge (squash) November 17, 2025 00:44
@alexec alexec merged commit 7c3f5e2 into main Nov 17, 2025
2 checks passed
@alexec alexec deleted the copilot/update-get-job-print-urls branch November 17, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants