Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Not A Defect
-
Component/s: nodejs-plugin
-
Labels:
-
Environment:Jenkinss 2.77
Blue Ocean 1.2.0
-
Similar Issues:
Description
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.
The nodejs command does not appear between available steps supported by BluOcean plugin.
That I can see actually BluOcean support the following steps (Jenkins 2.60.3 and BluOcean 1.2.0):
If you want be sure that BlueOcean theme works with your job create the pipeline using wizard.