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

Make Blue Ocean link url resolution extensible by plugins and take into account Organizations

    • Blue Ocean 1.1-beta4, Blue Ocean 1.1

      The Blue Ocean link from the classical view should be customizable by plugins. Plugins should be able to define or override the url mapping for a given ModelObject.

      Also by default this link should take into account when an organization has been defined and if this organization root Item is different from the root of the Jenkins instance

          [JENKINS-44208] Make Blue Ocean link url resolution extensible by plugins and take into account Organizations

          Alvaro Lobato created issue -
          Alvaro Lobato made changes -
          Description Original: The "Try Blue Ocean" button goes to the Blue Ocean url defined by BlueOceanWebURLBuilder|https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/BlueOceanWebURLBuilder.java#L70] this behaviour is not extensible and there is no way to define URLs for other Items.

          Also when you are in the classical view inside a folder that is the root item of an org, you should go to /blue/organization/org_name/ instead of /blue/ which could easily be done when this is extensible
          New: The "Try Blue Ocean" button goes to the Blue Ocean url defined by [BlueOceanWebURLBuilder | https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/BlueOceanWebURLBuilder.java#L70] this behaviour is not extensible and there is no way to define URLs for other Items.

          Also when you are in the classical view inside a folder that is the root item of an org, you should go to {{/blue/organization/org_name/}} instead of {{/blue/}} which could easily be done when this is extensible
          Alvaro Lobato made changes -
          Summary Original: Blue Ocean button url should be extensible and take into account the organization New: Blue Ocean button url should take into account organization root GroupItem
          Alvaro Lobato made changes -
          Description Original: The "Try Blue Ocean" button goes to the Blue Ocean url defined by [BlueOceanWebURLBuilder | https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/BlueOceanWebURLBuilder.java#L70] this behaviour is not extensible and there is no way to define URLs for other Items.

          Also when you are in the classical view inside a folder that is the root item of an org, you should go to {{/blue/organization/org_name/}} instead of {{/blue/}} which could easily be done when this is extensible
          New: The "Try Blue Ocean" button goes to the Blue Ocean url defined by [BlueOceanWebURLBuilder | https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/BlueOceanWebURLBuilder.java#L70] this
          When you are in the classical view inside a folder that is the root item of an org, you should go to {{/blue/organization/org_name/}} instead of {{/blue/}} which could easily be done when this is extensible

          This behaviour is not extensible and there is no way to define URLs for other Items not taken into account by [BlueOceanWebURLBuilder | https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/BlueOceanWebURLBuilder.java#L70]

          Alvaro Lobato made changes -
          Labels New: cloudbees-internal-steel
          Alvaro Lobato made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          James Dumay made changes -
          Assignee New: Vivek Pandey [ vivek ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.1-beta3 [ 316 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.1-beta4 [ 316 ] New: Blue Ocean 1.1-beta4, Blue Ocean 1.1-beta5 [ 316, 321 ]
          Vivek Pandey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            vivek Vivek Pandey
            alobato Alvaro Lobato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: