Report this

What is the reason for this report?

Running of the selinium -maven project which is in Git with the Jenkins

Posted on March 5, 2018

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

I could suggest a few things here:

  1. Make sure that the Chrome driver is actually installed on your Jenkins server. https://sites.google.com/a/chromium.org/chromedriver/downloads

  2. 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

  3. Try running the Chrome driver using the Jenkins user account and make sure that you don’t get any errors.

  4. 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.