mirror of https://github.com/ceph/ceph
make-dist: Quiet submodule operations in Jenkins
Signed-off-by: Zack Cerza <zack@redhat.com>
This commit is contained in:
parent
94505eb09e
commit
80674a3e12
|
@ -35,7 +35,8 @@ echo "version $version"
|
|||
# update submodules
|
||||
echo "updating submodules..."
|
||||
force=$(if git submodule usage 2>&1 | grep --quiet 'update.*--force'; then echo --force ; fi)
|
||||
if ! git submodule sync || ! git submodule update $force --init --recursive --progress; then
|
||||
quiet_or_progress=$(if test -n "$JENKINS_URL"; then echo --quiet; else echo --progress; fi)
|
||||
if ! git submodule sync || ! git submodule update $force --init --recursive $quiet_or_progress; then
|
||||
echo "Error: could not initialize submodule projects"
|
||||
echo " Network connectivity might be required."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue