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

Blue ocean pipeline editor 1.13.2 fails to edit pipeline with function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
      None
    • Environment:
      Jenkins 2.150.1
      Blue Ocean & Pipeline Editor 1.13.2
      CentOS 7 Linux 3.10.0-862.3.2.el7.x86_64
    • Similar Issues:

      Description

      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.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: