Christian
Christian

Reputation: 6430

What's (by default) on the classpath when you run a Jenkins job?

When you kick off a maven test in Jenkins, what is Jenkins putting onto the Java classpath by default?

Upvotes: 1

Views: 4879

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240870

it would be system's classpath (jdk you specified) and maven dependencies available to test phase

You can verify it by adding

System.out.println(System.getProperty("java.class.path"));

Upvotes: 2

Related Questions