From: Alexandru Avadanii Date: Tue, 23 Apr 2019 17:03:58 +0000 (+0200) Subject: Add submodule-disable for submodule operations X-Git-Tag: v0.38.0~17 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=00d1d5eda276c8cf5f03b000bf6df8e9656080e5;hp=00d1d5eda276c8cf5f03b000bf6df8e9656080e5;p=releng%2Fglobal-jjb.git Add submodule-disable for submodule operations Some Akraino projects using git scm have a large number of submodules which are not required during most CI/CD operations (e.g. we don't want to fetch GBs of 3rd party repositories when linting the code). Add submodule-disable parameter for both lf-infra-gerrit-scm and lf-infra-github-scm, allowing us to disable submodule fetching where needed. Jenkins git plugin support for this was added in [1]. This change is very similar and mostly based on the addition of the submodule-timeout parameter in commit 9fdb611f1. [1] https://issues.jenkins-ci.org/browse/JENKINS-6658 Change-Id: Ia99ba7f353a39e55d7bec57778f447f94402b5e6 Signed-off-by: Alexandru Avadanii ---