Jenkins Kubernetes plugin for Selenium - Maven pulls the dependencies but cannot compile

8/28/2019

I've adapted the following example from the Jenkins Kubernetes plugin documentation

I've created a simple Jenkins pipeline job and added the groovy script in line. Maven pulls all the dependencies, but weirdly fails at the compilation step.

Here's the console output

How does one go about even debugging this as the failure happens on a temporary container?

-- user6123723
jenkins
kubernetes
selenium

1 Answer

8/30/2019

The issue was with the settings.xml. It had a windows path which messed up maven's classpath. I added a line "sleep 99m" to keep the container on hold and then I SSH'd in to the container to debug to identify the root cause.

-- user6123723
Source: StackOverflow