Chrome浏览器无法通过Jenkins中的jenkins用户启动

时间:2018-09-04 06:16:15

标签: maven selenium jenkins automated-tests selenium-chromedriver

As shown in the image I'm copying the project to jenkins workspace

the goal is only clean install

但这不会启动chrome浏览器。它只显示下面的输出并保持加载 enter image description here

如果我执行一个shell命令“ sudo mvn clean install”,同样的事情也会起作用。 但是,如果我指定目标和选项,则无法使用。

这看起来像jenkins用户无权启动chrome。 有人可以帮我吗?

0 个答案:

没有答案