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

Blue ocean pipeline editor 1.13.2 fails to edit pipeline with function

XMLWordPrintable

    • 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.

       

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

              Created:
              Updated: