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

Add ability to mark a multibranch pipeline as a favourite - NOT a branch

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      I have a multibranch pipeline that contains only GitHub Pull Requests — no branches.

      I would like to be able to mark the whole pipeline folder as a favourite — I'm not interested in any one particular branch (PR), as these are pretty much ephemeral.

      i.e. it's probably just a shortcut to the pipeline folder, but since it's one of my most-used pipeline folders, I'd like to have it at the top of my dashboard.

          [JENKINS-39087] Add ability to mark a multibranch pipeline as a favourite - NOT a branch

          Michael Neale added a comment - - edited

          jamesdumay we should think on this more. Having a favourite as a shortcut is not unreasonable, and may solve the related issue of what to do when there is no default branch...

          My thoughts:

          If a user fav's a MB pipeline that has a master branch, fav the master branch.
          If they fav a MB that doesn't have a master branch, fav just the MB itself, show now branch status or ability to run (the fav just becomes a short cut to the activity screen for that MB pipeline).

          Michael Neale added a comment - - edited jamesdumay we should think on this more. Having a favourite as a shortcut is not unreasonable, and may solve the related issue of what to do when there is no default branch... My thoughts: If a user fav's a MB pipeline that has a master branch, fav the master branch. If they fav a MB that doesn't have a master branch, fav just the MB itself, show now branch status or ability to run (the fav just becomes a short cut to the activity screen for that MB pipeline).

          James Dumay added a comment -

          That doesn't make sense - what would the status of the card be? As the Github + Bitbucket support improves we should be able to favourite whatever the "default branch" is set within those services when a master branch does not exist.

          James Dumay added a comment - That doesn't make sense - what would the status of the card be? As the Github + Bitbucket support improves we should be able to favourite whatever the "default branch" is set within those services when a master branch does not exist.

          It wouldn't need to have a status — it could just be grey (or whatever), rather than red/green. It could show the info from the table below (e.g. "Pull Requests: 2 failing").

          Also note that the description mentions my concrete use case: I have a multibranch pipeline that contains no branches — only PRs. So the whole "default branch" thing is of no interest; I just want to favourite the multibranch folder, rather than scrolling down, clicking show more, and finding the folder.

          Christopher Orr added a comment - It wouldn't need to have a status — it could just be grey (or whatever), rather than red/green. It could show the info from the table below (e.g. "Pull Requests: 2 failing"). Also note that the description mentions my concrete use case: I have a multibranch pipeline that contains no branches — only PRs. So the whole "default branch" thing is of no interest; I just want to favourite the multibranch folder, rather than scrolling down, clicking show more, and finding the folder.

          James Dumay added a comment -

          orrc we will make it a bit easier to find the Pipelines you are looking for but the way you want favourites to work isn't how we will do it (We have no concept of a "Favourite Folder" which is essential to what you are asking). You might be interesting in something like JENKINS-38982 which is designed to solve the pagination issue.

          James Dumay added a comment - orrc we will make it a bit easier to find the Pipelines you are looking for but the way you want favourites to work isn't how we will do it (We have no concept of a "Favourite Folder" which is essential to what you are asking). You might be interesting in something like JENKINS-38982 which is designed to solve the pagination issue.

            jamesdumay James Dumay
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: