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

Jenkins blueocean plugin - Pipeline editor unable to open Jenkinsfile

    Details

    • Similar Issues:

      Description

      I am extremely new to Blueocean & getting below error when trying to open pipeline editor -

      There was an error loading the pipeline from the Jenkinsfile in this repository. Correct the error by editing the Jenkinsfile using the declarative syntax then commit it back to the repository.

      Cannot read property 'indexOf' of undefined

      View full Jenkinsfile - 

      https://stackoverflow.com/questions/46169459/jenkins-blueocean-plugin-pipeline-editor-unable-to-open-jenkinsfile

      Blueocean plugin version - 1.2.2 .

       

        Attachments

          Activity

          Hide
          viveky4d4v Vivek Kumar Yadav added a comment -

          I am extremely sorry for creating this issue. I tried the same thing on other Ubuntu machine & it worked fine. Earlier i was trying it on a MAC OS. 

          I hope someone else doesn't waste their/your time & check their machine configs before putting a bug.

          Feel free to close the issue. 

          Show
          viveky4d4v Vivek Kumar Yadav added a comment - I am extremely sorry for creating this issue. I tried the same thing on other Ubuntu machine & it worked fine. Earlier i was trying it on a MAC OS.  I hope someone else doesn't waste their/your time & check their machine configs before putting a bug. Feel free to close the issue. 
          Hide
          Carbon Kieran Webber added a comment -

          I also have this issue developing on MacOS. So it may be a platform specific bug.

          Show
          Carbon Kieran Webber added a comment - I also have this issue developing on MacOS. So it may be a platform specific bug.
          Hide
          michaelneale Michael Neale added a comment -

          Vivek Kumar Yadav no worries at all. 

          Kieran Webber what JDK version? Most people working on blue ocean day to day use macos 

          Show
          michaelneale Michael Neale added a comment - Vivek Kumar Yadav no worries at all.  Kieran Webber what JDK version? Most people working on blue ocean day to day use macos 
          Hide
          fanghe fang he added a comment - - edited

          Michael Neale I got the same exception in jenkins (official docker release 2.78-alpine).

          My JDK Version info:

          openjdk version "1.8.0_121"

          OpenJDK Runtime Environment (IcedTea 3.3.0) (Alpine 8.121.13-r0)

          OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

           

          Show
          fanghe fang he added a comment - - edited Michael Neale I got the same exception in jenkins (official docker release 2.78-alpine). My JDK Version info: openjdk version "1.8.0_121" OpenJDK Runtime Environment (IcedTea 3.3.0) (Alpine 8.121.13-r0) OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)  
          Hide
          michaelneale Michael Neale added a comment - - edited

          Can someone try with blue ocean 1.3 now it is out please? Vivek Kumar Yadav Kieran Webber as I am not able to reproduce this. 

           EDIT: looks like (deleted comment): https://stackoverflow.com/questions/46169459/pipeline-editor-unable-to-open-jenkinsfile-in-jenkins-blueocean was due to proxy support not being honoured (is in 1.3)

          Show
          michaelneale Michael Neale added a comment - - edited Can someone try with blue ocean 1.3 now it is out please? Vivek Kumar Yadav Kieran Webber as I am not able to reproduce this.   EDIT: looks like (deleted comment): https://stackoverflow.com/questions/46169459/pipeline-editor-unable-to-open-jenkinsfile-in-jenkins-blueocean  was due to proxy support not being honoured (is in 1.3)

            People

            • Assignee:
              jamesdumay James Dumay
              Reporter:
              viveky4d4v Vivek Kumar Yadav
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: