詹金斯的不同maven构建结果比直接

时间:2014-01-30 20:50:49

标签: maven jenkins

我正在为现有的maven项目设置Jenkins。构建运行时,Jenkins控制台显示以下错误(文件名/ URL已更改):

[ERROR] Failed to execute goal on project: Could not resolve dependencies for project: Failure to find (file jar) in http://example.com:8081/nexus/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of repo has elapsed or updates are forced -> [Help 1] [ERROR]

当我cd /var/lib/jenkins/jobs/Project/workspace并自己运行mvn package时,构建成功完成。

我尝试过强制/清理,我尝试删除Jenkins项目并重新添加。

如何通过Jenkins强制构建,或者导致缓存错误的原因是什么?

0 个答案:

没有答案