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

multibranchpipeline.branchNames is not updated when new branch is created (or deleted)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean - Candidates

      If someone navigates to Multibranch pipeline that has no branches yet, SSE events do not re-render the page once said branches have runs start on them.

       

      This exposes a bigger issue for plugins that may use branchNames(on multibranch pipeline object. Re-rendering will not happen properly as that property is not updated. Branch pipelines are still being created/deleted and SSE events come in for them, but the top level multibranchpipeline is not updated.

       

      To fix this, when branch create/delete SSE event comes in, multibranch pipeline also needs to be refetched. 

            imeredith Ivan Meredith
            imeredith Ivan Meredith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: