小编Aar*_*oni的帖子

Jenkins 构建失败,Cobertura 错误

我试图建立一个工作,它返回以下错误:

> Failed to execute goal
> org.codehaus.mojo:cobertura-maven-plugin:2.7:instrument (default-cli)
> on project addressbook: Execution default-cli of goal
> org.codehaus.mojo:cobertura-maven-plugin:2.7:instrument failed: Plugin
> org.codehaus.mojo:cobertura-maven-plugin:2.7 or one of its
> dependencies could not be resolved: Could not find artifact
> com.sun:tools:jar:0 at specified path
> /var/lib/jenkins/tools/hudson.model.JDK/myjava/../lib/tools.jar ->
> [Help 1]
Run Code Online (Sandbox Code Playgroud)

知道如何解决吗?

build cobertura jenkins

6
推荐指数
1
解决办法
2268
查看次数

标签 统计

build ×1

cobertura ×1

jenkins ×1