Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin(jenkins-backend): Add extension point #3000

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lcarva
Copy link
Contributor

@lcarva lcarva commented Feb 26, 2025

Hey, I just made a Pull Request!

Add an extension point to the jenkins-backend plugin so a custom JenkinsInforProvider can be used.

✔️ 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)

Add an extension point to the `jenkins-backend` plugin so a custom
JenkinsInforProvider can be used.

Fixes backstage#2926

Signed-off-by: Luiz Carvalho <[email protected]>
@lcarva lcarva requested a review from a team as a code owner February 26, 2025 14:24
@lcarva lcarva requested a review from nickboldt February 26, 2025 14:24
@backstage-goalie
Copy link
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-jenkins-backend workspaces/jenkins/plugins/jenkins-backend patch v0.11.0

@manusant
Copy link

Yes it looks good. Thanks for the effort

@lcarva
Copy link
Contributor Author

lcarva commented Mar 12, 2025

Anything else that needs to be done before this change is reviewed and, eventually, merged?

@CryptoRodeo
Copy link
Contributor

@04kash @BethGriggs another Jenkins PR

@04kash 04kash requested review from 04kash and removed request for nickboldt March 14, 2025 20:48
Copy link
Member

@04kash 04kash left a comment

Choose a reason for hiding this comment

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

Thanks @lcarva! The docs would need to be updated on how to provide a custom JenkinsInfoProvider using this new extension point as well. You can take a look at the keycloak docs and the badges docs for examples.

}

/**
* Extension point that allows a different JenkinsInfoProvider to be used.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* Extension point that allows a different JenkinsInfoProvider to be used.
* Extension point that allows a custom JenkinsInfoProvider to be used.

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.

4 participants