Fix Sonar for DMaaP Mediator 06/6706/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 7 Sep 2021 05:35:33 +0000 (07:35 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 7 Sep 2021 05:35:38 +0000 (07:35 +0200)
Issue-ID: NONRTRIC-593
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ic28d419d62b1c33968665819ce8f43b31aca4126

dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh

index ad8b8bb..18dcc56 100755 (executable)
@@ -30,6 +30,8 @@ go get -v github.com/ory/go-acc
 export GO111MODULE=on
 go get github.com/stretchr/testify/mock@v1.7.0
 
 export GO111MODULE=on
 go get github.com/stretchr/testify/mock@v1.7.0
 
+cd dmaap-mediator-producer
 go-acc ./... --ignore mocks
 
 go-acc ./... --ignore mocks
 
+cp coverage.txt $curdir
 echo "--> build-dmaapmediatorproducer-ubuntu.sh ends"
 echo "--> build-dmaapmediatorproducer-ubuntu.sh ends"