Fix Sonar build script for Go version
Issue-ID: NONRTRIC-711
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ia5c66f6fb6d05d584663938a9a21ccdb83a0f874
diff --git a/goversion/build-oruclosedloopconsumer-ubuntu.sh b/goversion/build-oruclosedloopconsumer-ubuntu.sh
old mode 100644
new mode 100755
index c59abd7..b99e2e5
--- a/goversion/build-oruclosedloopconsumer-ubuntu.sh
+++ b/goversion/build-oruclosedloopconsumer-ubuntu.sh
@@ -24,7 +24,7 @@
# ubuntu minion path lacks go
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
go version
-cd test/usecases/oruclosedlooprecovery/goversion/
+cd goversion/
# install the go coverage tool helper
go get -v github.com/ory/go-acc
@@ -34,7 +34,5 @@
go-acc ./... --ignore mocks
-sed -i -e 's/oransc\.org\/usecase\/oruclosedloop/test\/usecases\/oruclosedlooprecovery\/goversion/' coverage.txt
-
cp coverage.txt $curdir
echo "--> build-oruclosedloopconsumer-ubuntu.sh ends"