我在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