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

Invalid pipelines cannot be edited and fail to show errors

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      jenkinsci/blueocean with: 1.4.0 · Core 2.89.3 · 260c271
      Firefox ESR 52.6.0 (64-bit)
    • Similar Issues:
    • Sprint:
      Blue Ocean - Candidates

      Description

      In Blue Ocean, create a pipeline from a GitHub repo that contains this Jenkinsfile:

      pipeline {
      
      script {
      
      node {
      
      checkout scm
      
      sh 'ls -l'
      
      sh 'env'
      
      }
      
      }
      
      }
      

      It will fails to build, because it's invalid declarative structure.

      Try to edit it in Blue Ocean.

      Expected:

      Editor shows, or error message shows

      Actual:

      White window shows

      Browser console has Javascript error.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              danielbeck Daniel Beck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: