From c53217a4b4af9ad84b8e70d2871af7fa552336f3 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Mon, 8 Apr 2024 17:18:28 -0700 Subject: [PATCH] CI: Add silent prescan SonarCloud job Change-Id: I14c7454ed7860cbdc57f6032138940c8551a5434 Signed-off-by: Jessica Wagantall --- .github/workflows/gerrit-novote-merge.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gerrit-novote-merge.yaml b/.github/workflows/gerrit-novote-merge.yaml index 83e4ba2..0d00cff 100644 --- a/.github/workflows/gerrit-novote-merge.yaml +++ b/.github/workflows/gerrit-novote-merge.yaml @@ -86,17 +86,18 @@ jobs: GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }} JDK_VERSION: "17" # yamllint disable-line rule:line-length - PRE_BUILD_SCRIPT_URL: "https://raw.githubusercontent.com/o-ran-sc/ci-management/master/jjb/ric-plt-rtmgr/prescan-rtmgr-ubuntu.sh" + PRE_BUILD_SCRIPT_URL: "https://raw.githubusercontent.com/o-ran-sc/ci-management/master/jjb/ric-plt-e2mgr/prescan-e2mgr-ubuntu.sh" SONAR_ARGS: > -Dsonar.organization=o-ran-sc - -Dsonar.projectKey=o-ran-sc_ric-plt-rtmgr - -Dsonar.projectName=ric-plt-rtmgr + -Dsonar.projectKey=o-ran-sc_ric-plt-e2mgr + -Dsonar.projectName=ric-plt-e2mgr -Dsonar.build.sourceEncoding=UTF-8 -Dsonar.language=go - -Dsonar.sources=. - -Dsonar.go.coverage.reportPaths=./coverage.txt - -Dsonar.inclusions=pkg/**/**.go - -Dsonar.exclusions=cmd/**.go,pkg/stub/**.go,pkg/**/**_test.go + -Dsonar.sources=E2Manager + -Dsonar.go.coverage.reportPaths=E2Manager/coverage.txt + -Dsonar.inclusions=**/**.go + -Dsonar.exclusions=**/mocks/**.go,**/tests/**.go + -Dsonar.test.inclusions=**/*_test.go -Dsonar.verbose=true secrets: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} -- 2.16.6