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

Blue Ocean dashboard showing no Pipelines

    XMLWordPrintable

Details

    • Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 2

    Description

      Hi,

      I found out that when I use "@" in my branch name, the request will get 404 and pipeline info won't show up.

       

       

       

      Attachments

        1. 1.png
          1.png
          114 kB
        2. 2.png
          2.png
          54 kB
        3. 3.png
          3.png
          56 kB
        4. image-2017-11-15-21-03-10-362.png
          image-2017-11-15-21-03-10-362.png
          32 kB
        5. screenshot-1.png
          screenshot-1.png
          523 kB
        6. screenshot-2.png
          screenshot-2.png
          348 kB
        7. screenshot-3.png
          screenshot-3.png
          295 kB
        8. screenshot-4.png
          screenshot-4.png
          365 kB

        Activity

          kshultz Karl Shultz added a comment -

          steven_chen - are you accessing Jenkins from behind a proxy server?

          kshultz Karl Shultz added a comment - steven_chen - are you accessing Jenkins from behind a proxy server?
          steven_chen chen po yu added a comment -

          No

          steven_chen chen po yu added a comment - No
          vivek Vivek Pandey added a comment -

          Looks like its an issue when '@' is there in branch name.

          vivek Vivek Pandey added a comment - Looks like its an issue when '@' is there in branch name.
          vivek Vivek Pandey added a comment -

          imeredith I verified, this indeed is a bug.

          To reproduce, create a git branch with @ symbol in the branch name, for example: bug@1234 . When a pipeline is created, clicking on activity screen on branch name 'bug@1234' will result in to blank run details page.

          I think its same branch name encoding bug, in this case its happening because frontend double encodes branch name using encodeURIComponent() but on Jenkins Util.rawEncode() doesn't encode @ symbol. 

          https://github.com/jenkinsci/jenkins/blob/e798f64854be85141ab7ba610c3a8ee0b093f36b/core/src/main/java/hudson/Util.java#L1042

           

          vivek Vivek Pandey added a comment - imeredith I verified, this indeed is a bug. To reproduce, create a git branch with @ symbol in the branch name, for example: bug@1234 . When a pipeline is created, clicking on activity screen on branch name 'bug@1234' will result in to blank run details page. I think its same branch name encoding bug, in this case its happening because frontend double encodes branch name using encodeURIComponent() but on Jenkins Util.rawEncode() doesn't encode @  symbol.  https://github.com/jenkinsci/jenkins/blob/e798f64854be85141ab7ba610c3a8ee0b093f36b/core/src/main/java/hudson/Util.java#L1042  
          imeredith Ivan Meredith added a comment -

          Might have to implement that rawEncode on the client side. And pray that it doesnt break other things

          imeredith Ivan Meredith added a comment - Might have to implement that rawEncode on the client side. And pray that it doesnt break other things

          People

            imeredith Ivan Meredith
            steven_chen chen po yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: