X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=a0e179f23c68d19b4c5ae7cf6317c49692da73de;hb=34ec2b247d2cb68583f36ea0e903d4800bc8e68c;hp=713c355b37db4bef9869132f5714f85a0d1bdd45;hpb=737be8fa3e5d7f5e4e1d273bebcefbe7952d5402;p=ci-management.git diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 713c355..a0e179f 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -6,7 +6,7 @@ views: - common-view: view-name: iec - view-regex: '^{project-name}-(tox|fuel|compass)-.*' + view-regex: '^{project-name}-(tox|type1|type2)-(verify|fuel|compass)-.*' # ------------------------------- # BRANCH DEFINITIONS # ------------------------------- @@ -73,6 +73,42 @@ - '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/** + + # Unit tests + sonar.go.coverage.reportPaths=iec-coverage.xml + sonar.go.tests.reportPaths=iec-tests.xml + + # Importing External Issues + sonar.go.govet.reportPaths=iec-govet.xml + sonar.go.golint.reportPaths=iec-golint.xml + sonar.go.gometalinter.reportPaths=iec-gometalinter.xml + sonar.go.golangci-lint.reportPaths=iec-golangci-lint.xml ############## # PARAMETERS # @@ -370,6 +406,7 @@ publishers: *publishers + ######################## # trigger macros ########################