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

Blue ocean pipeline editor 1.13.2 fails to edit pipeline with function

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Jenkins 2.150.1
      Blue Ocean & Pipeline Editor 1.13.2
      CentOS 7 Linux 3.10.0-862.3.2.el7.x86_64

      Pipeline contains groovy script calls to avoid repetition of logic as shown below. The pipeline executes fine but unable to edit.

      def execSH(String sNode, String sMA, String eNm) {
          node("$sNode") { 
              sh "..."
          }
      }
      pipeline {
          agent {
              node {
                  label '...'
              }
          }
          stages {
              stage('StatusCheck-Group') {
                  parallel {
                      stage('Group-1') {
                          steps {
                              execSH(...)
                              execSH(...)
                              execSH(...)
                          }
                      }
                  }
              }
          }
      }
      

      Pipeline editor doesn't show the pipeline at all, just a blank page.

       

          [JENKINS-56610] Blue ocean pipeline editor 1.13.2 fails to edit pipeline with function

          Manas Ranade created issue -
          Manas Ranade made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Devin Nusbaum made changes -
          Epic Link New: JENKINS-36291 [ 172300 ]
          Devin Nusbaum made changes -
          Component/s New: blueocean-plugin [ 21481 ]
          Component/s Original: pipeline [ 21692 ]

            Unassigned Unassigned
            manasranade Manas Ranade
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: