From: Alexandru Avadanii Date: Thu, 16 Apr 2020 14:37:27 +0000 (+0200) Subject: iec-sonar: Disable git submodule cloning X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=45ad64d7616bd03d489f393276ee19c0779516d1 iec-sonar: Disable git submodule cloning SonarQube should be limited to scanning the IEC repository contents and not its (massive) collection of git submodules which include various upstream components (including the full K8s source code, among other large code bases). Although we apply some inclusion/exclusion filtering as part of SonarQube configuration, it seems that the large collection of git submodules interferes with log collection and upload; hence disable cloning git submodules before running SonarQube. This is an attempt at fixing the ever-hanging iec-sonar job in CI. Change-Id: If6b9b205d8f1924ca8180787a92415494461d5b7 Signed-off-by: Alexandru Avadanii --- diff --git a/jjb/iec/iec.yaml b/jjb/iec/iec.yaml index 36b7cfb..047aab2 100644 --- a/jjb/iec/iec.yaml +++ b/jjb/iec/iec.yaml @@ -88,6 +88,8 @@ - gerrit-sonar: sonar-project-file: "" build-node: centos7-builder-2c-1g + submodule-recursive: false + submodule-disable: true sonar-properties: | # Required metadata sonar.projectKey=iec