Windows - 'newman' is not recognized as an internal or external command

1,835 views
Skip to first unread message

Nir Tal

unread,
Jan 6, 2018, 7:50:31 AM1/6/18
to Jenkins Users
Hi all, 
tried to run  a newman API test on my windows 10 
from cmd it works well
but when i run it from jenkins
it is not recognized 

try to add it to jenkins path 
like:
%AppData%\npm\node_modules\newman\bin\

or 
%AppData%\npm\node_modules

but still not recognized  

please help. 

Slide

unread,
Jan 6, 2018, 4:42:29 PM1/6/18
to jenkins...@googlegroups.com
Is Jenkins running as the same user you are running the command as? If you are running Jenkins as a service, then it usually is running under a system account. You can modify which user the service runs as in the service settings.

--
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/eb128d37-81cc-4b7d-bd12-323723fc36da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nir Tal

unread,
Jan 7, 2018, 10:02:57 AM1/7/18
to Jenkins Users
Hi all, 
tried to run  a newman API test on my windows 10 
from cmd it works well
but when i run it from jenkins
it is not recognized 

try to add it to jenkins path 
like:
%AppData%\npm\node_modules\newman\bin\

or 
%AppData%\npm\node_modules

but still not recognized  

please help. 

--
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/eb128d37-81cc-4b7d-bd12-323723fc36da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



_________________________________________________________

Report any spam emails to sp...@nab.com.au
Report any phishing / suspicious emails to ho...@nab.com.au
For more information visit http://go/cybersafety
_________________________________________________________

alexgo...@gmail.com

unread,
Apr 19, 2018, 3:03:04 PM4/19/18
to Jenkins Users
Achi, any solution to this issue?>

Tejkumar Kempaiah

unread,
Nov 17, 2018, 10:57:09 AM11/17/18
to Jenkins Users
Reply all
Reply to author
Forward
0 new messages