From 8c97179704f708dc526f7a991d49303c6707933e Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Tue, 7 Sep 2021 07:48:12 +0200 Subject: [PATCH] Fix Sonar for DMaaP Mediator Issue-ID: NONRTRIC-593 Signed-off-by: elinuxhenrik Change-Id: Ifd480a8151473536762f1e450b4beb22473f5d2a --- dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh b/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh index 18dcc56d..59331fe2 100755 --- a/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh +++ b/dmaap-mediator-producer/build-dmaapmediatorproducer-ubuntu.sh @@ -24,13 +24,14 @@ curdir=`pwd` # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +cd dmaap-mediator-producer + # install the go coverage tool helper go get -v github.com/ory/go-acc export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 -cd dmaap-mediator-producer go-acc ./... --ignore mocks cp coverage.txt $curdir -- 2.16.6