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

nodejs-plugin breaks the blue ocean edit screen

XMLWordPrintable

      After adding a block to my Jenkinsfile:

       

      nodejs('Node 8.4.0') {
       sh 'node --version'
       sh 'npm --version'
       sh 'cd client && npm install'
       }

       

      And going to Blue Ocean and trying to edit the Jenkinsfile I get this error in the console:

      jenkins-js-extension.js:11662 Uncaught (in promise) Error: No parameters for: nodejs
       at convertStepFromJson (jenkins-js-extension.js:11662)
       at convertJsonToInternalModel (jenkins-js-extension.js:11621)
       at jenkins-js-extension.js:5905
       at jenkins-js-extension.js:11908
       at jenkins-js-extension.js:12426
       at <anonymous>

      and the page is mostly white but still has the blue toolbar on top.

            nfalco Nikolas Falco
            jwesorick Jake Wesorick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: