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 <nirt...@gmail.com> 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 jenkinsci-users+unsubscr...@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 > <https://groups.google.com/d/msgid/jenkinsci-users/eb128d37-81cc-4b7d-bd12-323723fc36da%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 jenkinsci-users+unsubscr...@googlegroups.com. 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.