NodeJS jenkins plugin broken?

I have just installed the NodeJS plugin on Jenkins 1.526

but on the master configuration the NodeJS auto-installer does not show up, is this plugin outdated?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

works for me, but i had to restart the server for the option to appear

I see the option here: /jenkins/configure

my steps:

a) install this as normal

b) then you go to the configure page


c) NodeJS option should be under maven/git and ant installation options

d) Create NodeJS installiation

NodeJS- > NodeJS installations -> Add NodeJS -> Name = “NodeJS 0.11.10”, tick “Install automatically”, select “Install from”, add “grunt-cli” to globally installed packages

e) Create a job and nodejs shell should be available as a build task “Execute NodeJS script”

eg do this for a simple hello world example, with echo hello world onto jenkins job output

var sys = require('sys');
sys.puts('NodeJS Test');

Solution 2

Disable on JENKINS_HOME/configureSecurity “Cross site request forgery” attack check

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply