1

jenkins server enter image description here

I am working on MacBook. Our Jenkins server is running in linux server when I running tests via testing.xml file all test classes are running but when I run Jenkins build its not getting run Error is saying driver is not executable

I have created maven project in Jenkins and give repo url of this project from bitbucket

anyone help me to sort out this issue ?

asked Nov 2, 2020 at 11:47

1 Answer 1

1

You should use ChromeDriver for Linux: Downloads - WebDriver for Chrome.

and then make the ChromeDriver executable using

chmod 750 chromedriver

or

chmod 777 chromedriver

For more see: What Does chmod 777 Mean.

Bence Kaulics
1,00712 silver badges22 bronze badges
answered Nov 2, 2020 at 12:09
5
  • I did this too not working Commented Nov 2, 2020 at 12:09
  • are you using chromedriver for linux : chromedriver.storage.googleapis.com/87.0.4280.20/… Commented Nov 2, 2020 at 12:11
  • chromedriver.chromium.org/downloads Commented Nov 2, 2020 at 12:12
  • Yes I am using chrome driver linux Commented Nov 3, 2020 at 9:33
  • please add your code also , how you are starting chrome driver Commented Nov 3, 2020 at 10:14

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.