无法使用Jenkins执行Maven项目

时间:2017-05-22 04:02:24

标签: maven jenkins

我在Jenkins创建了一个Maven项目。当我点击"立即构建"时,我收到如下错误,但我可以使用maven package从命令提示符运行此项目。

<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f 
C:\Users\Administrator\.jenkins\workspace\maven\pom.xml mvn package
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Sources

channel stopped
Finished: FAILURE

0 个答案:

没有答案