【发布时间】:2020-06-18 20:51:18
【问题描述】:
我需要在 Jenkins 上集成我的量角器脚本。我的代码在 Bit 存储桶中,我在 Jenkins 中配置了我的项目的详细信息。
我的 Jenkins 服务器在 Linux 上,所以我使用了 Execute shell。
以下是我在执行 shell 中提到的步骤。
npm install
webdriver-manager update
webdriver-manager start
protractor conf.js
Initialising WebDriverServlet
20:23:34.444 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
Selenium 服务器已启动并正在运行,但它卡在那里无法执行下一步。
..................................
我也试过执行
npm install
protractor conf.js
通过在 conf.js 上注释 selenium 地址
对于哪个 m 得到以下错误
I/launcher - Running 1 instances of WebDriver
[20:02:30] I/local - Starting selenium standalone server...
[20:02:32] I/local - Selenium standalone server started at .........
Unable to create new service: ChromeDriverService
我需要有关如何在 jenkins 上运行脚本的帮助。任何帮助将不胜感激。提前感谢
【问题讨论】:
标签: jenkins protractor