Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36687

Refactor RunPipeline to use HAL hrefs in internal logic

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • 1.0-beta-1

      We have discussed the possibility of using HAL links in the JSON to avoid encoding issues and other logic bugs in the application. This ticket has a small surface area where we can test some of the integration.

      1. Update the BlueMessageEnricher to return a HAL-compliant URL for the blueocean_rest_job_url
      2. Update identity logic in RunPipeline, api/Pipeline, api/Branch, OrganizationPipelines and actions to check for identity based on the URL.
      3. Update REST fetching logic to use the appropriate "runs" link (ideally) or by appending "/runs/" to the self URL.

            cliffmeyers Cliff Meyers
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: