X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fiec%2Fiec.yaml;h=5b8db9f3b805e38d02c0247468a222e984fa3277;hp=75d58368b0154c7f378e633c1ee5f6b46d2f1f8c;hb=cbe0c7f9bbfdcc4171a9a69a0390cd720e3d2a2b;hpb=43498ecf50f770a66979e1677466a005a58cb3bb diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 75d5836..5b8db9f 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -73,6 +73,33 @@ - '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 # @@ -169,7 +196,7 @@ blocking-jobs: - '.*-fuel-{deploy_type}-.*' - '.*-compass-{deploy_type}-.*' - blocking-level: 'NODE' + block-level: 'NODE' wrappers: - build-name: @@ -224,9 +251,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 +273,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 +397,7 @@ publishers: *publishers + ######################## # trigger macros ########################