jenkins构建时报错
来源:2-2 GitLab工作流程

慕标4146058
2018-08-29
jenkins构建时报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project webdemo: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war failed: basedir /root/.jenkins/workspace/dcloudjibei/webdemo/src/main/webapp/WEB-INF/web.xml is not a directory -> [Help 1][ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
1回答
-
一路向北
2018-08-29
感谢这位同学的关注, 建议构建时打开 -X去debug一下具体报错细节.
从当前报错信息上看你的basedir这个变量应该指向一个目录, 而不是一个具体文件路径, 查看一下你的${basedir}是否配置有问题.
012018-08-29
相似问题