Hello I try to execute nodejs job in jenkins:
Jenkins integration with Grunt
But I can't connect to registry.npmjs.org/ throw Jenkins. I set the Proxy in Jenkins in Plugins->Advanced but I get stil this error:
Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/TempDemo/workspace
$ /var/lib/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/recent_node_0.11.11_/bin/npm install -g grunt-cli@~0.1.0
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm http GET https://registry.npmjs.org/grunt-cli
npm ERR! Error: connect ECONNREFUSED
npm ERR!     at exports._errnoException (util.js:682:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:947:19)
npm ERR!  { [Error: connect ECONNREFUSED]
npm ERR!   stack: 'Error: connect ECONNREFUSED\n    at exports._errnoException (util.js:682:11)\n    at Object.afterConnect [as oncomplete] (net.js:947:19)',
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect' }
npm ERR! 
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'
What should I do now?