iec: compass: Fix log permissions, curl redirect
[ci-management.git] / jjb / iec / iec.yaml
index 86752e1..573faf1 100644 (file)
       - 'iec-{iecType}-deploy-{installer}-{deploy_type}-{os}-daily-{stream}'
       - 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}'
       - 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
+      - gerrit-sonar:
+          sonar-project-file: ""
+          build-node: centos7-builder-2c-1g
+          sonar-properties: |
+            # Required metadata
+            sonar.projectKey=iec
+            sonar.projectName=iec
+            sonar.organization=akraino-edge-stack
+
+            #Source
+            sonar.sources=.
+            sonar.exclusions=**/*_test.go,**/vendor/**
+
+            # Language
+            sonar.language=go
+
+            # Encoding
+            sonar.build.sourceEncoding=UTF-8
+
+            # Inclusions
+            sonar.inclusions=**/**.go
+
+            # Test Execution
+            sonar.tests=.
+            sonar.test.inclusions=**/*_test.go
+            sonar.test.exclusions=**/vendor/**
+
 
 ##############
 # PARAMETERS #
           blocking-jobs:
             - '.*-fuel-{deploy_type}-.*'
             - '.*-compass-{deploy_type}-.*'
-          blocking-level: 'NODE'
+          block-level: 'NODE'
 
     wrappers:
       - build-name:
             same-node: true
             current-parameters: true
             predefined-parameters: |
+              CLUSTER_MASTER_IP=$K8S_MASTER_IP
+              CLUSTER_SSH_USER=$K8S_SSH_USER
+              CLUSTER_SSH_PASSWORD=$K8S_SSH_PASSWORD
+              CLUSTER_SSH_KEY=$K8S_SSH_KEY
               BLUEPRINT={project-name}
               LAYER=k8s
               VERSION=master
             - '.*-{iecType}-deploy-{installer}-{deploy_type}-.*'
             - '.*-{iecType}-destroy-{installer}-{deploy_type}-.*'
             - '.*-{iecType}-install-.*-{installer}-{deploy_type}-.*'
-          blocking-level: 'NODE'
+          block-level: 'NODE'
 
     parameters:
       - lf-infra-parameters:
 
     publishers: *publishers
 
+
 ########################
 # trigger macros
 ########################