X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=335ac1e1fcdf62f621a3ba0ddbba410d3e59d68e;hp=975182560bebc52f0698b3eace4e2e0705d1e87f;hb=191228abb07ce70ee90eeca75f42e5d665c3bfe1;hpb=b56c97697c77da391866cee8979dd5dc4563572a diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 9751825..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: @@ -254,6 +290,7 @@ stream: '{stream}' branch: '{branch}' - '{project}-defaults' + - '{installer}-{os}-defaults' - string: name: DEPLOY_SCENARIO default: '{scenario}' @@ -321,6 +358,7 @@ stream: '{stream}' branch: '{branch}' - '{project}-defaults' + - '{installer}-{os}-defaults' - string: name: DEPLOY_SCENARIO default: '{scenario}' @@ -354,6 +392,7 @@ stream: '{stream}' branch: '{branch}' - '{project}-defaults' + - '{installer}-{os}-defaults' wrappers: - build-name: @@ -367,6 +406,7 @@ publishers: *publishers + ######################## # trigger macros ########################