Re: NodeJS Plugin:in windows : npm commends not working

2016-10-21 Thread bolleypally vijay kumar
Thanks Eric for all your help the problem solved when i made shell run mode to Windows batch mode *Problem Solved* On Tuesday, 18 October 2016 20:59:44 UTC+5:30, bolleypally vijay kumar wrote: > > 1. I'm trying to print node and npm version in a jenkins jobs in windows > machine > > I dont wa

Re: Private message regarding: NodeJS Plugin:in windows : npm commends not working

2016-10-20 Thread bolleypally vijay kumar
Thanks Eric I will try this On Oct 20, 2016 6:50 PM, "Eric Pyle" wrote: > The 'dirname' command is used to separate the final directory name from a > path. The plugin code must be calling it. Can you execute the same commands > interactively on the same node without error? Also, it appears that

Re: Private message regarding: NodeJS Plugin:in windows : npm commends not working

2016-10-20 Thread Eric Pyle
The 'dirname' command is used to separate the final directory name from a path. The plugin code must be calling it. Can you execute the same commands interactively on the same node without error? Also, it appears that you may be using the "sh" pipeline command on a Windows node, which is not re

Re: NodeJS Plugin:in windows : npm commends not working

2016-10-20 Thread bolleypally vijay kumar
Hi Eric, Thanks for the hep i installed Cygwin for windows and set Path respectively now able to run all Linux commands in windows cmd but when i run the job its shown error was "/usr/bin/dirname: missing operand" Please find ATTACHED Screens My question is why dirname command was invoked wh

Re: NodeJS Plugin:in windows : npm commends not working

2016-10-18 Thread Eric Pyle
It looks like it's failing because it expects to find bash shell commands dirname and uname. Do you have Cygwin or some similar package installed to make those commands available? On 10/18/2016 11:29 AM, bolleypally vijay kumar wrote: 1. I'm trying to print node and npm version in a jenkins jo