Fix Sonar for DMaaP Mediator 07/6707/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 7 Sep 2021 05:48:12 +0000 (07:48 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 7 Sep 2021 05:49:30 +0000 (07:49 +0200)
Issue-ID: NONRTRIC-593
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ifd480a8151473536762f1e450b4beb22473f5d2a

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

index 18dcc56..59331fe 100755 (executable)
@@ -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