From 45ad64d7616bd03d489f393276ee19c0779516d1 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 16 Apr 2020 16:37:27 +0200 Subject: [PATCH] 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 --- jjb/iec/iec.yaml | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.16.6