From: aravind.est Date: Tue, 24 Sep 2024 13:28:41 +0000 (+0100) Subject: NONRTRIC SME Fix sonar build issues X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=7ed019ee77ac56c4933a385eb93ab71d71fa1a7d;p=nonrtric%2Fplt%2Fsme.git NONRTRIC SME Fix sonar build issues this fixes the sonar prescan script failure in jenkins and github Issue-ID: NONRTRIC-1033 Change-Id: I1f0995077746af1e986924f60126085aa11001f8 Signed-off-by: aravind.est --- diff --git a/capifcore/build-capifcore-ubuntu.sh b/capifcore/build-capifcore-ubuntu.sh index 9bac724..934341f 100755 --- a/capifcore/build-capifcore-ubuntu.sh +++ b/capifcore/build-capifcore-ubuntu.sh @@ -1,7 +1,8 @@ #!/bin/bash ############################################################################## # -# Copyright (C) 2022: Nordix Foundation +# Copyright (C) 2022-2023: Nordix Foundation +# Copyright (C) 2023-2024: OpenInfra Foundation Europe # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -28,7 +29,7 @@ go version cd capifcore/ # install the go coverage tool helper -go install github.com/ory/go-acc +go install github.com/ory/go-acc@v0.2.8 go get github.com/stretchr/testify/mock@v1.7.1 diff --git a/servicemanager/build-servicemanager-ubuntu.sh b/servicemanager/build-servicemanager-ubuntu.sh index 963e3aa..f4a00d8 100755 --- a/servicemanager/build-servicemanager-ubuntu.sh +++ b/servicemanager/build-servicemanager-ubuntu.sh @@ -27,7 +27,7 @@ export GO111MODULE=on go version # Get the go coverage tool helper -go install github.com/ory/go-acc +go install github.com/ory/go-acc@v0.2.8 go get github.com/stretchr/testify/mock@v1.7.1 go-acc ./... --ignore mockkong,common,discoverserviceapi,invokermanagementapi,publishserviceapi,providermanagementapi