mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 09:16:07 -06:00
Merge pull request #6692 from akva2/jenkins_sep_clone
separate cloning from building in jenkins pipeline
This commit is contained in:
1 file changed
+3
-5
+3
-5
@@ -21,9 +21,8 @@ declare -a downstreams
|
||||
declare -A downstreamRev
|
||||
|
||||
# Clone opm-common
|
||||
pushd .
|
||||
mkdir -p $WORKSPACE/deps/opm-common
|
||||
cd $WORKSPACE/deps/opm-common
|
||||
pushd $WORKSPACE/deps/opm-common
|
||||
git init .
|
||||
git remote add origin https://github.com/OPM/opm-common
|
||||
git fetch --depth 1 origin ${upstreamRev[opm-common]}:branch_to_build
|
||||
@@ -33,12 +32,11 @@ popd
|
||||
|
||||
source $WORKSPACE/deps/opm-common/jenkins/build-opm-module.sh
|
||||
|
||||
# Add a link so scripts can find opm-simulators in a uniform way
|
||||
ln -sf $WORKSPACE $WORKSPACE/deps/opm-simulators
|
||||
|
||||
parseRevisions
|
||||
printHeader opm-simulators
|
||||
|
||||
clone_repositories opm-simulators
|
||||
|
||||
# Setup opm-data
|
||||
source $WORKSPACE/deps/opm-common/jenkins/setup-opm-tests.sh
|
||||
|
||||
|
||||
Reference in new issue
Block a user