X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=335ac1e1fcdf62f621a3ba0ddbba410d3e59d68e;hp=86752e1592561be6822e8aff55a85d1de0a245f3;hb=191228abb07ce70ee90eeca75f42e5d665c3bfe1;hpb=de587600a65d3aaf497f6c3381d6d18c40664e87 diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 86752e1..335ac1e 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -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 # @@ -169,7 +205,7 @@ blocking-jobs: - '.*-fuel-{deploy_type}-.*' - '.*-compass-{deploy_type}-.*' - blocking-level: 'NODE' + block-level: 'NODE' wrappers: - build-name: @@ -246,7 +282,7 @@ - '.*-{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: @@ -370,6 +406,7 @@ publishers: *publishers + ######################## # trigger macros ########################