My goal is to run my first time Selenium tests with Jenkins (not local).
So what I did:
I created google cloud server
I installed Jenkins on my server thanks to this guide: https://cloud.google.com/solutions/using-jenkins-for-distributed-builds-on-compute-engine
Created job with "plugin maven project", connect my bitbucket project to the "Source Code Management" screenshot job maven project settings
Jenkins Configuration I installed JDK and Maven
Now the problem is when I try to run the job, my test doesn't work because Jenkins can't find web driver:
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
What should i do ?
I know that I don't have that path
/home/tomcat/.m2/..
on my server and I don't know how to create itI installed
libnss3
libraries
Please help