Remove sonar build for dcaegen2/collectors/hv-ves 59/62059/2
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Thu, 23 Aug 2018 11:07:12 +0000 (13:07 +0200)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Thu, 23 Aug 2018 11:21:20 +0000 (13:21 +0200)
Because hv-ves is Kotlin-based and ONAP Sonar does not currenly
support Kotlin we can drop Sonar build for this project.

In order to have some reports I've also added archive-artifacts option
to archive:
* detekt (Kotlin static code analysis) reports - placed by mvn plugin in
  target directory of each sub-module
* aggergate Jacoco coverage report.

Change-Id: Ife683105121b938cb4e9e7f233a72d2725125c26
Issue-ID: DCAEGEN2-681
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
jjb/dcaegen2/dcaegen2-collectors-hv-ves.yaml

index c6929bb..2508076 100644 (file)
@@ -12,7 +12,7 @@
     files: '**'
     maven-deploy-properties: |
       deployAtEnd=true
-    archive-artifacts: ''
+    archive-artifacts: 'hv-collector-coverage/target/site/jacoco-aggregate,**/target/reports/detekt-report.html'
     build-node: ubuntu1604-docker-8c-8g
     jobs:
       - gerrit-maven-clm
           # No-op
           script: '/bin/true'
 
-- project:
-    name: dcaegen2-collectors-hv-ves-sonar
-    jobs:
-      - gerrit-maven-sonar
-    cron: 'H 11 * * *'
-    build-node: ubuntu1604-builder-4c-4g
-    project: 'dcaegen2/collectors/hv-ves'
-    project-name: 'dcaegen2-collectors-hv-ves'
-    branch: 'master'
-    mvn-settings: 'dcaegen2-collectors-hv-ves-settings'
-    mvn-goals: 'clean install'
-    mvn-params: '-DskipDocker'
-    mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'