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?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1446a133-b4b5-421c-82a4-8a66b2f5cd01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric Pyle
|
Release Engineer |
Lebanon |
+1 603-277-3060 (T) |
+1 603-359-8670 (M) |
eric...@cd-adapco.com |
http://www.cd-adapco.com |
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 recommended, and many
people have reported problems doing so. Use the "bat" command
instead.
Also, I am sending this reply to the Jenkins list, so that others
more knowledgeable about the NodeJS plugin may be able to help.
Regards,
Eric
Hi Eric Pyle,
Thanks for your help
as you mentioned i installed Cygwin and added to path and able to access all Linux commands in windows cmd now when i run the job error was different '/usr/bin/dirname: missing operand' Please find ATTACHED Screens for more detailsMy question is why dirname command getting invoked when im trying to print npm version
--
Thanks Eric I will try this