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

若如初见. 提交于 2019-12-11 08:42:25

问题


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


回答1:


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"));


来源:https://stackoverflow.com/questions/24412637/whats-by-default-on-the-classpath-when-you-run-a-jenkins-job

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!