简体   繁体   中英

SSH command to start “webdriver-manager” on slave machine using Jenkins

I am actually using protractor and Jenkins to run all the test on remote machine. I am starting "webdriver-manager" manually on remote machine and triggering Jenkins to run the tests, is there a way i can start "webdriver-manager" using Jenkins? like on pre-build step using SSH or "maven" script Your comment will really appreciated.

We've solved it using grunt , there is a specific grunt-protractor-webdriver plugin that would start the webdriver-manager for you:

This Grunt task starts a Selenium WebDriver, blocks until it's ready to accept connections, and then leaves it running in the background until the Grunt process finished.

There is also grunt-protractor-runner .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM