• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • ghprb-plugin
    • None

      Currently, you configure a single API endpoint in the main Jenkins config. This effectively limits this incredibly useful plugin to only a single GitHub instance for all builds.

      With GitHub Enterprise becoming increasingly popular, organizations are working with a mix of publicly hosted and internal projects.

      Adding support for multiple GH endpoints would enable, at the job level, for us to choose which endpoint to use for a given job.

      I'd define an endpoint as an API URL + credentials. I'm not sure how much value there would be in pulling all of the other values (admin lists, etc) into endpoint-specific properties as those seem like they'd apply to all endpoints equally.

      I looked into contributing this functionality, but I confess that being new to Jenkins plugin authoring the way forward was unclear. For example, would endpoints become an property of the main task? How do you add repeaters for that property? Or would the entire main task become a repeatable?

      Thanks for considering!

            Unassigned Unassigned
            marcesher Marc Esher
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: