From: elinuxhenrik Date: Fri, 5 Nov 2021 13:43:55 +0000 (+0100) Subject: Fix Sonar for nonrtric Go products X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=09103bfb22a71815365db883bc42deb8300ad531;p=ci-management.git Fix Sonar for nonrtric Go products Issue-ID: NONRTRIC-612 Signed-off-by: elinuxhenrik Change-Id: I38b81e457ec7158b917ca114651d38d715240c2f --- diff --git a/jjb/nonrtric/nonrtric.yaml b/jjb/nonrtric/nonrtric.yaml index 57434c49..70b43bfd 100644 --- a/jjb/nonrtric/nonrtric.yaml +++ b/jjb/nonrtric/nonrtric.yaml @@ -216,7 +216,7 @@ - project: <<: *nonrtric_jdk_common name: nonrtric-dmaap-mediator-producer-sonar - project-name: '{name}' + project-name: nonrtric-dmaap-mediator-producer-sonar # prescan script requires ubuntu # golang is only on docker-enabled nodes build-node: ubuntu1804-docker-4c-4g @@ -241,14 +241,14 @@ # Inclusions sonar.inclusions=dmaap-mediator-producer/internal/**/**.go # Exclusions - sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/internal/**/**_test.go + sonar.exclusions=dmaap-mediator-producer/main.go,dmaap-mediator-producer/mocks/**.go,dmaap-mediator-producer/stub/**.go,dmaap-mediator-producer/internal/**/**_test.go jobs: - gerrit-sonar-prescan-script - project: <<: *nonrtric_jdk_common name: nonrtric-o-ru-closed-loop-consumer-sonar - project-name: '{name}' + project-name: nonrtric-o-ru-closed-loop-consumer-sonar # prescan script requires ubuntu # golang is only on docker-enabled nodes build-node: ubuntu1804-docker-4c-4g @@ -273,7 +273,7 @@ # Inclusions sonar.inclusions=test/usecases/oruclosedlooprecovery/goversion/internal/**/**.go,test/usecases/oruclosedlooprecovery/goversion/**.go # Exclusions - sonar.exclusions=test/usecases/oruclosedlooprecovery/goversion/mocks/**.go,test/usecases/oruclosedlooprecovery/goversion/internal/**/**_test.go,test/usecases/oruclosedlooprecovery/goversion/simulator/**.go + sonar.exclusions=test/usecases/oruclosedlooprecovery/goversion/mocks/**.go,test/usecases/oruclosedlooprecovery/goversion/internal/**/**_test.go,test/usecases/oruclosedlooprecovery/goversion/**_test.go,test/usecases/oruclosedlooprecovery/goversion/simulator/**.go jobs: - gerrit-sonar-prescan-script