I am running below script in the jenkins, but i am unable to get the coverage report on the Sonarqube
container(‘golang’) {
script {
sh ”’
cd src
go test ./… -tags test ‘-coverprofile=coverage.out’ ‘-buildvcs=false’
”’
}
}
container(‘golang’) {
script {
sh ”’
cd src
go test ./… -tags test ‘-coverprofile=coverage.out’ ‘-buildvcs=false’
”’
}
}