Jenkins Protractor Launch

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

webdriver-manager start

It works great. However, from inside jenkins it continues to throw:

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

My env vars look fine since java and npm work fine with Jenkins. Any idea?

+4
source share
2 answers

As it turned out, I just forgot to put the C: \ Users \ USERNAME \ AppData \ Roaming \ npm folder in the System Variables and only configured it as my user path.

See elgalu answer for the following problem though ...

+4
source

Protractor Jenkins, ssh Jenkins, :

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

, , Protractor, Jenkins , Ubuntu Desktop.

+1

All Articles