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

Remove hardcoding of the jenkins organization from the UI

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean - 1.1-beta-1
    • Similar Issues:

      Description

      Scope

      • Remove hardcoding of the "jenkins" organization from the UI
      • Known places that hardcode:
        • Loading user info - Deprecate the root user API /rest/users and update references to use /rest/organizations/$org/users/
        • Dashboard - Make /rest/search/ require organization as a parameter.
        • Creation
          • New Pipeline button
          • credential API needs to be re-scoped under /rest/organizations/$org
          • SCM API needs to be re-scoped under /rest/organizations/$org
      • Update ATH to run blue ocean with a random organization name

      Notes
      This ticket may uncover frontend work. The UI needs to remove all uses of hardcoded 'jenkins' organization and work with HAL links. This is extremely important and goes long way to make UI work with whatever backend says in terms of where to find resources.

      Discovering hard coded organizations

      1. Update the default organization name to be "blue-ocean"
      2. Run the tests and ATH against the branch and find test failures

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              vivek Vivek Pandey
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: