diff options
author | Dan Timoney <dtimoney@att.com> | 2020-02-24 15:23:37 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-02-25 08:44:06 -0500 |
commit | 6ca10bdfb54f18b68fb9f368274f4d08c03099fb (patch) | |
tree | 1ca9a4fa8f6696cb96c5a0b4640f34ab2428ee77 | |
parent | 568ff4d867dd09c087246fe7cc343c1d581e6255 (diff) |
Fix Sonar Jenkins job
Updated pom.xmls of modules that do not contain 'src/main' directory
to skip Sonar scan. This allows Sonar scan to complete for the rest
of CDS. Need to revisit these modules to see whether they should
really be skipped or if sonar properties (e.g. sonar.sources) should
instead be tailored.
Issue-ID: CCSDK-2116
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I8b0237886e357a0188633f007dc97cf6e725fa53
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/pom.xml | 4 | ||||
-rw-r--r-- | ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml | 4 | ||||
-rw-r--r-- | ms/py-executor/pom.xml | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/pom.xml b/components/model-catalog/blueprint-model/test-blueprint/pom.xml index f9dab0227..3b44eb105 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/pom.xml +++ b/components/model-catalog/blueprint-model/test-blueprint/pom.xml @@ -35,4 +35,8 @@ <module>capability_cli</module> <module>resource-audit</module> </modules> + + <properties> + <sonar.skip>true</sonar.skip> + </properties> </project> diff --git a/ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml b/ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml index b208cbda5..1e90cca76 100644 --- a/ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml +++ b/ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml @@ -28,6 +28,10 @@ <name>Controller Blueprints Proto</name> <description>Controller Blueprints Proto</description> + <properties> + <sonar.skip>true</sonar.skip> + </properties> + <dependencies> <dependency> <groupId>com.github.marcoferrer.krotoplus</groupId> diff --git a/ms/py-executor/pom.xml b/ms/py-executor/pom.xml index 9ede1b21b..5c8ac17cf 100644 --- a/ms/py-executor/pom.xml +++ b/ms/py-executor/pom.xml @@ -36,6 +36,7 @@ <ccsdk.project.version>${project.version}</ccsdk.project.version> <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> + <sonar.skip>true</sonar.skip> </properties> <build> |