本地ant运行成功,使用jenkins运行失败
jenkins:
Buildfile: /var/jenkins_home/workspace/mall_management/build.xml
[taskdef] Could not load definitions from resource org/jacoco/ant/antlib.xml. It could not be found.
dump:
BUILD FAILED
/var/jenkins_home/workspace/mall_management/build.xml:11: Problem: failed to create task or type antlib:org.jacoco.ant:dump
Cause: The name is undefined.
本地
请大lao帮忙解答,谢谢!
看下是缺少这个文件么,taskdef节点配置一样么,对比下你本地跟服务器是否有这个路径下的antlib.xml文件
你把运行日志发给我看一下