From 33bb10b98f74a162814f8a8ea7c916926f232683 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 6 Apr 2016 10:10:23 +0200 Subject: [PATCH] fixed: use shallow clones on jenkins --- jenkins/build-opm-core.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/build-opm-core.sh b/jenkins/build-opm-core.sh index 005f2e2b..ab277196 100755 --- a/jenkins/build-opm-core.sh +++ b/jenkins/build-opm-core.sh @@ -7,7 +7,7 @@ function build_opm_core { cd $WORKSPACE/deps/ert git init . git remote add origin https://github.com/Ensembles/ert - git fetch origin $ERT_REVISION:branch_to_build + git fetch --depth 1 origin $ERT_REVISION:branch_to_build test $? -eq 0 || exit 1 git checkout branch_to_build popd @@ -26,7 +26,7 @@ function build_opm_core { cd $WORKSPACE/deps/opm-common git init . git remote add origin https://github.com/OPM/opm-common - git fetch origin $OPM_COMMON_REVISION:branch_to_build + git fetch --depth 1 origin $OPM_COMMON_REVISION:branch_to_build test $? -eq 0 || exit 1 git checkout branch_to_build popd