Skip to content

feat(jenkins-backend): regiser MCP actions for Jenkins#8560

Open
MattiaDellOca wants to merge 2 commits intobackstage:mainfrom
MattiaDellOca:feature/jenkins-actions
Open

feat(jenkins-backend): regiser MCP actions for Jenkins#8560
MattiaDellOca wants to merge 2 commits intobackstage:mainfrom
MattiaDellOca:feature/jenkins-actions

Conversation

@MattiaDellOca
Copy link
Copy Markdown

Hey, I just made a Pull Request!

The Jenkins backend plugin exposes REST routes for:

  1. Getting projects for an entity
  2. Getting builds for a job
  3. Getting a specific build
  4. Getting build console text
  5. Triggering a rebuild

These routes serve the frontend plugin. This PR makes the same capabilities available as MCP actions, so they can be consumed by Backstage AI tooling.

Note: given that the logic between routes and MCP actions is very similar, the common logic has been removed from JenkinsBuilder and moved to jenkinsService.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

Signed-off-by: Mattia Dell'Oca <mattia.delloca@supsi.ch>
@backstage-goalie
Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
backend workspaces/jenkins/packages/backend none v0.0.11
@backstage-community/plugin-jenkins-backend workspaces/jenkins/plugins/jenkins-backend minor v0.27.0

Signed-off-by: Mattia Dell'Oca <mattia.delloca@supsi.ch>
@MattiaDellOca MattiaDellOca force-pushed the feature/jenkins-actions branch from 8dfd0c6 to 5bcf248 Compare April 15, 2026 07:41
Copy link
Copy Markdown
Contributor

@awanlin awanlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @MattiaDellOca, there's already a PR for this - #8536. Can you perhaps collaborate with @drodil on this given his PR was submitted first? There's also more changes in this PR than I would expect to see which struck me as a bit odd.

@MattiaDellOca
Copy link
Copy Markdown
Author

Hello @awanlin, may I ask which changes introduced by this PR do not convince you?
Also, do you think that this PR still introduce changes that might be worth to integrate into @drodil's one? If not, I can just close this as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants