GitHub Enterprise server can be created with incorrect URL path

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Blue Ocean 1.2-beta4, Blue Ocean 1.2

      A user can add a new GitHub Enterprise server which points to the root GitHub Enterprise URL rather than the API endpoint. This leads to an error downstream when trying to fetch organizations.

      Repro Steps

      1. Launch "New Pipeline" flow
      2. Choose "GitHub Enterprise"
      3. Next to server dropdown, click "Add"
      4. Enter any name
      5. Enter a URL that points to the root of a GHE server, such as https://github.beescloud.com

      Expected

      • Should return an error indicated the URL is not valid.

      Actual

      • Add is successful.

      Notes
      In the above example, the URL should actually be: https://github.beescloud.com/v3/api. We need to enhance the backend validation code to ensure the URL is correct, or perhaps try to autocorrect it.

            Assignee:
            Cliff Meyers
            Reporter:
            Cliff Meyers
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: