Gitlab-plugin: Support reporting test coverage to gitlab merge requests

Created on 15 Feb 2017  路  9Comments  路  Source: jenkinsci/gitlab-plugin

Gitlab supports reporting test coverage through its merge request UI, and they have just exposed this functionality via their API: https://gitlab.com/gitlab-org/gitlab-ce/issues/27807

Would be great to have inbuilt support for deriving a test coverage figure from a jenkins job and updating gitlab accordingly

feature request

Most helpful comment

is anyone interested in submitting a PR ?

All 9 comments

The feature is available in the Gitlab v4 API. To derive true test coverage one needs to use something like the Cobertura plugin. Jenkins has a so called health state (when you publish JUnit test results) that you can configure yourself. Would that be a option?

Would be blocked until we have v4 API support. #530.

is anyone interested in submitting a PR ?

Any news on this?

+1 would be interested in this as well

Any updates here? This prevents us from implementing a solid merge-request & code coverage focused microservice architecture.

Maybe it would be even better to support uploading pipline artifacts to GitLab in General? As far as I know, the coverage reports are just a specialized type of pipeline artifact.

Maybe it would be even better to support uploading pipline artifacts to GitLab in General? As far as I know, the coverage reports are just a specialized type of pipeline artifact.

Which would be #486

+1 for this

Was this page helpful?
0 / 5 - 0 ratings