From a7522e2fa5e94a7737a5ad9f85ee69b8b613c2c0 Mon Sep 17 00:00:00 2001 From: LuciaM1 Date: Thu, 23 May 2024 11:36:22 +0200 Subject: [PATCH] excluding dockerfile from scanner --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 253b3db9..d0818f4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,4 +116,5 @@ jobs: run: | mvn sonar:sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }} -Dsonar.projectKey=pagopa_atm-layer-model \ -Dsonar.organization=pagopa -Dsonar.java.binaries=src/main \ - -Dsonar.coverage.jacoco.xmlReportPaths=../atm-layer-model/target/jacoco-report/jacoco.xml -Pcoverage + -Dsonar.coverage.jacoco.xmlReportPaths=../atm-layer-model/target/jacoco-report/jacoco.xml -Pcoverage \ + -Dsonar.exclusions=src/main/java/it/gov/pagopa/atmlayer/service/model/docker/Dockerfile.native