我的目标是第一次用Jenkins(非本地)进行Selenium测试。
所以我做了什么:
我创建了谷歌云服务器
由于本指南,我在服务器上安装了Jenkins:https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute-engine
使用"插件maven项目"创建作业, 将我的bitbucket项目连接到"源代码管理" 截图job maven project settings
Jenkins配置我安装了JDK和Maven
现在的问题是,当我尝试运行这项工作时,我的测试无法正常工作,因为Jenkins无法找到网络驱动程序:
INFO: No webdriver is bound to current thread: 1 - let's create new webdriver
/home/tomcat/.m2/repository/webdriver/chromedriver/linux64/2.35/chromedriver: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
我该怎么办?
我知道我的服务器上没有/home/tomcat/.m2/..
路径
而且我不知道如何创建它
我安装了libnss3
个库
请帮忙