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

Blue Ocean dashboard showing no Pipelines

    XMLWordPrintable

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 2
    • Similar Issues:

      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

          Hide
          kshultz Karl Shultz added a comment -

          chen po yu - are you accessing Jenkins from behind a proxy server?

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

          No

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

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

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

          Ivan Meredith 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

           

          Show
          vivek Vivek Pandey added a comment - Ivan Meredith 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  
          Hide
          imeredith Ivan Meredith added a comment -

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

          Show
          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

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

              Dates

              • Created:
                Updated:
                Resolved: