在詹金斯的Maven包装

时间:2016-12-21 16:37:18

标签: maven jenkins

我正在尝试在jenkins中测试构建基于maven的项目。

https://github.com/tonsV2/Lift-Log-Backend

但是我收到以下错误。

[Lift Log Backend] $ /bin/sh -xe /tmp/hudson4180120395829748105.sh
+ ./mvnw clean
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
Build step 'Execute shell' marked build as failure
Finished: FAILURE

任何线索?

1 个答案:

答案 0 :(得分:2)

好像你的Jenkins工作名称中有空格。尝试将作业从“提升日志后端”重命名为“提升日志后端

我遇到了同样的问题,在重命名Jenkins作业后,错误消失了。