X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=335ac1e1fcdf62f621a3ba0ddbba410d3e59d68e;hp=79d16d9b09c996890a1ffcdf8f442b50559bf4ca;hb=191228abb07ce70ee90eeca75f42e5d665c3bfe1;hpb=91fe4572895623fe32ac0e2a243bc33ba8db4d00 diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 79d16d9..335ac1e 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 # @@ -169,7 +205,7 @@ blocking-jobs: - '.*-fuel-{deploy_type}-.*' - '.*-compass-{deploy_type}-.*' - blocking-level: 'NODE' + block-level: 'NODE' wrappers: - build-name: @@ -224,9 +260,9 @@ unstable-threshold: 'FAILURE' - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}' current-parameters: false - predefined-parameters: + predefined-parameters: | DEPLOY_SCENARIO={scenario} - IEC_TYPE='{iecType}' + IEC_TYPE={iecType} same-node: true block: true @@ -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 ########################