title: Unable to execute the chrome driver on Jenkins in Linux
body: <p>I have jenkins which is running on Linux box and Whenever I tried to run the below script its failing and says the driver is not executable.</p>
  
  <pre><code>  java.lang.IllegalStateException: The driver is not executable: /COMPLIANCE-48/workspace/AutoProfile_Exec/Driver/chromedriver
    at com.google.common.base.Preconditions.checkState(Preconditions.java:199)
  </code></pre>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>        String getLocation=System.getProperty("chromePath");
          ChromeOptions chromeOptions = new ChromeOptions();
          chromeOptions.addArguments("--headless");
          System.setProperty("webdriver.chrome.driver",getLocation);
          WebDriver iDriver = new ChromeDriver(chromeOptions);
  </code></pre>
  
  <p><strong>The below is mvn command</strong>:</p>
  
  <pre><code>-U clean compile exec:java -DchromePath="${WORKSPACE}/Driver/chromedriver"
  </code></pre>
  
  <p>Actually I have placed the chromedriver in that specific path and passing it as an argument. But not sure why it's saying driver is not executable.</p>