From 7ed019ee77ac56c4933a385eb93ab71d71fa1a7d Mon Sep 17 00:00:00 2001 From: "aravind.est" Date: Tue, 24 Sep 2024 14:28:41 +0100 Subject: [PATCH] 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 --- capifcore/build-capifcore-ubuntu.sh | 5 +++-- servicemanager/build-servicemanager-ubuntu.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.16.6