From b08fbb00227d264241dc218f09d2650c4333f731 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 6 Apr 2016 10:06:27 +0200 Subject: [PATCH] fixed: use shallow clones on jenkins --- jenkins/build-opm-module.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins/build-opm-module.sh b/jenkins/build-opm-module.sh index acde42dff..e0474c420 100755 --- a/jenkins/build-opm-module.sh +++ b/jenkins/build-opm-module.sh @@ -25,7 +25,7 @@ function clone_module { cd $WORKSPACE/deps/$1 git init . git remote add origin https://github.com/OPM/$1 - git fetch origin $2:branch_to_build + git fetch --depth 1 origin $2:branch_to_build git checkout branch_to_build test $? -eq 0 || exit 1 popd