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

Unable to open Jenkinsfile in blueocean pipeline editor

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If I create the following Jenkins file in the pipeline editor:

      pipeline {
        agent any
        stages {
          stage('Build') {
            steps {
              sh 'mvn clean package'
            }
          }
        }
      }

      Everything works fine.  If I add the following snippet after the stage line:

      	tools {
      		maven 'mvn'
      		jdk 'jdk8'
      	}  

      Then the pipeline editor displays a blank page.  If I remove the snipped then all is back normal in the editor.

      This Jenkinsfile is the same as the Jenkinsfile in the https://github.com/jenkinsci/jenkins-test-harness-htmlunit/blob/master/Jenkinsfile repository which is utilized by the ci.jenkins.io build site.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              marioja Mario Jauvin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: