Skip to content

Commit

Permalink
fixed: use shallow clones on jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Apr 6, 2016
1 parent dc6d85a commit 2e30389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/build-opm-parser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function build_opm_parser {
cd $WORKSPACE/deps/ert
git init .
git remote add origin https://github.com/Ensembles/ert
git fetch origin $ERT:branch_to_build
git fetch --depth 1 origin $ERT:branch_to_build
test $? -eq 0 || exit 1
git checkout branch_to_build
popd
Expand All @@ -25,7 +25,7 @@ function build_opm_parser {
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
Expand Down

0 comments on commit 2e30389

Please sign in to comment.