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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Nir Tal
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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

slide
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.

On Sat, Jan 6, 2018 at 5:50 AM Nir Tal <[hidden email]> wrote:
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 [hidden email].
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.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVdAeNWxzGTT659iefm%2BTw6m%2BTJc%2ByuHE0hg%2B5YuO8cTiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.