I have integrated the selenium, Maven, Git and Jenkins. The set up working fine when it was running from in a local Jenkins.But the Build Fails When it Runs from a central Jenkins Server.Getting An error of unable to fetch the Chrome Binaries
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
I could suggest a few things here:
Make sure that the Chrome driver is actually installed on your Jenkins server. https://sites.google.com/a/chromium.org/chromedriver/downloads
Check if the Chrome driver is available on the PATH. You can do that using the which command, if this is not the case, you can add the following to your ~/.bashrc file: export PATH=$PATH:/path/to/chromedriver
Try running the Chrome driver using the Jenkins user account and make sure that you don’t get any errors.
Check your Maven pom.xml and make sure that it has the correct configuration for the Chrome driver.
If this is still happening, I would recommend running the Jenkins job with verbose logging using the -verbose option to see more information on what might be causing the problem.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.