Running protractor from Jenkins

I am trying to run protractor on windows from the command line.
If I directly type the command:

webdriver-manager start

It works great. However, from within jenkins, it keeps throwing:

'webdriver-manager' is not recognized as an internal or external command,
operable program or batch file.

My env vars seems ok, since the java and npm works fine from Jenkins. Any idea?

Install Protractor globally in the Jenkins machine, for this you may need to ssh into the Jenkins machine that run the tests:

ssh your-jenkins-server
npm -g install protractor
# update webdriver in the Jenkins machine
webdriver-manager update
# test it works
webdriver-manager start

Once you have that setup and running your next problem will probably be running Protractor headless unless your Jenkins machine has a display available and an installed windows manager like Ubuntu Desktop.

As it turned out I simply forgot putting the C:\Users\USERNAME\AppData\Roaming\npm folder on the System variables and only configured it as my user path.

See elgalu's answer for your next problem though...