Unable to install gocover-cobertura
deepujain opened this issue · comments
Deepak Jain commented
$ go get github.com/t-yuki/gocover-cobertura
$ go get code.google.com/p/go.tools/cmd/cover
package code.google.com/p/go.tools/cmd/cover: unrecognized import path "code.google.com/p/go.tools/cmd/cover" (parse https://code.google.com/p/go.tools/cmd/cover?go-get=1: no go-import meta tags)
$
Deepak Jain commented
Installed go get github.com/t-yuki/gocover-cobertura and there was no need to install cmd/cover.
Generated XML reports using
$GOPATH/bin/gocover-cobertura < target/coverage/cli_coverage.out > target/coverage/cli_coverage.xml
Worked seamlessly with Jenkins CI.