开发者

How to configure test-reports on Jenkins CI working with grails?

I configured JenkinsCI to build and run test on a grails application. But I don't understand the junit test-reports configurat开发者_JS百科ion. I try to put target/test-reports/*.xml but I receive an error that the files does not exists. How to configure it ?

Thanks


The path you provide needs to be relative to the workspace root, which will be something like:

grails-app-name/target/test-reports/*.xml

If you're checking it out into a module (an optional Jenkins field in the "Source Code Management" section), you'll need the module name first:

module-name/grails-app-name/target/test-reports/*.xml

Tip:

Underneath the Test report XMLs field you're entering the value in, there's a link to the workspace root. Click it, and navigate to your test-reports folder; the path at the top is what you need to enter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜