fixed: use shallow clones on jenkins

This commit is contained in:
Arne Morten Kvarving
2016-04-06 10:06:27 +02:00
parent 4ca84813ae
commit b08fbb0022
+1 -1
View File
@@ -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