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

Multibranch jobs with a different display name do not work

    • Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2

      We use a different workflow branch factory than the default for GitHub multibranch pipeline jobs, and the branch factory sets a display name that is sometimes different than the actual branch name. When using this plugin and using getRunUrl, it uses the display name of the job instead of the actual job name, which results in non-rendering pages, etc in the UI.

      I'm not sure of the proper fix here, as this may be valid for non-GH multibranch pipeline jobs. Looking at how the classic URL provider plugin handles this (following it down the chain from the plugin itself), it appears that this uses item group names, etc to get this right.

      It's also possible that using getName instead of getDisplayName will just work in all cases, not sure.

          [JENKINS-47073] Multibranch jobs with a different display name do not work

          Brian Saville created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-43952 [ 181484 ]
          James Dumay made changes -
          Sprint New: Blue Ocean 1.4 - beta 1 [ 401 ]
          James Dumay made changes -
          Sprint Original: Blue Ocean 1.4 - beta 1 [ 401 ] New: Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2 [ 401, 426 ]
          James Dumay made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ivan Meredith made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Karl Shultz made changes -
          Labels New: testing-notes-reviewed
          James Dumay made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          James Dumay made changes -
          Link New: This issue is duplicated by JENKINS-47535 [ JENKINS-47535 ]
          James Dumay made changes -
          Link New: This issue is duplicated by JENKINS-47604 [ JENKINS-47604 ]
          James Dumay made changes -
          Link Original: This issue is duplicated by JENKINS-47604 [ JENKINS-47604 ]

            imeredith Ivan Meredith
            bksaville Brian Saville
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: