backstage/community-plugins

๐Ÿš€ <jenkins>: <need support multi-host jenkins>

Opened this issue ยท 2 comments

Plugin Name

jenkins

๐Ÿ”– Feature description

this plugin only support get jenkins info from one host

๐ŸŽค Context

our company has two jenkins host for different public cloud service. but now this plugin only support get jenkins info from one host

โœŒ๏ธ Possible Implementation

No response

๐Ÿ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Are you willing to submit PR?

None

The Jenkins plugin supports multiple Jenkins hosts with the instances configuration attribute.
https://github.com/backstage/community-plugins/blob/main/workspaces/jenkins/plugins/jenkins-backend/config.d.ts#L37

Does this not work for your use case?

The Jenkins plugin supports multiple Jenkins hosts with the instances configuration attribute. https://github.com/backstage/community-plugins/blob/main/workspaces/jenkins/plugins/jenkins-backend/config.d.ts#L37

Does this not work for your use case?

I just read the source code and know how to config instance in catalog-info.yaml file. the 'jenkins.io/job-full-name' should start with "${instance_name}:", is that right? this should be add in this readme file: https://github.com/backstage/community-plugins/blob/main/workspaces/jenkins/plugins/jenkins/README.md