无法从Jenkins Maven工作中的Github Maven项目解析POM.XML

时间:2019-07-08 11:20:10

标签: java maven jenkins github

建立詹金斯工作时遇到问题。为GitHub Maven项目配置了Jenkins Maven Job。

我在全局工具配置中添加了JDK Home和自动Maven安装。

16:41:34 Parsing POMs
16:41:34 Established TCP socket on 40351
16:41:34 [GitToJenkinsTest] $ /usr/local/java/jdk1.8.0_201/bin/java clean package -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.12.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven/boot/plexus-classworlds-2.5.1.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven/conf/logging jenkins.maven3.agent.Maven31Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.29.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.12.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.12.jar 40351
16:41:34 Error: Could not find or load main class clean
16:42:04 ERROR: Failed to launch Maven. Exit code = 1
16:42:04 Finished: FAILURE

0 个答案:

没有答案