简体   繁体   English

SSH命令使用Jenkins在从属计算机上启动“ webdriver-manager”

[英]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. 我实际上是在使用量角器和Jenkins在远程计算机上运行所有测试。 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? 我在远程计算机上手动启动“ webdriver-manager”并触发Jenkins运行测试,有没有办法我可以使用Jenkins启动“ webdriver-manager”? like on pre-build step using SSH or "maven" script Your comment will really appreciated. 就像在使用SSH或“ Maven”脚本的预构建步骤中一样,您的评论将不胜感激。

We've solved it using grunt , there is a specific grunt-protractor-webdriver plugin that would start the webdriver-manager for you: 我们使用grunt解决了该问题,有一个特定的grunt-protractor-webdriver插件可以为您启动webdriver-manager:

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. 此Grunt任务启动Selenium WebDriver,阻塞直到准备好接受连接,然后使其在后台运行,直到Grunt进程完成。

There is also grunt-protractor-runner . 也有grunt-protractor-runner

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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